parent
9957481d41
commit
9628dc20d5
3 changed files with 46 additions and 22 deletions
|
|
@ -74,6 +74,10 @@ where
|
|||
self.entries.is_empty()
|
||||
}
|
||||
|
||||
pub fn first(&self) -> Option<&Window<P, C>> {
|
||||
self.entries.first_key_value().map(|(_id, window)| window)
|
||||
}
|
||||
|
||||
pub fn iter_mut(
|
||||
&mut self,
|
||||
) -> impl Iterator<Item = (Id, &mut Window<P, C>)> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue