all: add (Clone)Cell::is_some and is_none
This commit is contained in:
parent
7a67784502
commit
54d93f84da
32 changed files with 98 additions and 62 deletions
|
|
@ -88,11 +88,11 @@ impl WorkspaceNode {
|
|||
}
|
||||
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.stacked.is_empty() && self.fullscreen.get().is_none() && self.container.get().is_none()
|
||||
self.stacked.is_empty() && self.fullscreen.is_none() && self.container.is_none()
|
||||
}
|
||||
|
||||
pub fn stacked_visible(&self) -> bool {
|
||||
self.visible.get() && self.fullscreen.get().is_none()
|
||||
self.visible.get() && self.fullscreen.is_none()
|
||||
}
|
||||
|
||||
pub fn change_extents(&self, rect: &Rect) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue