pub struct WindowContainer {
pub is_floating: bool,
/* private fields */
}Expand description
A leaf container that holds a single window.
Fields§
§is_floating: boolWhether the container is floating within its workspace.
Implementations§
Source§impl WindowContainer
impl WindowContainer
Sourcepub fn window(&self) -> Option<WindowInfo>
pub fn window(&self) -> Option<WindowInfo>
Get the window info from this container.
Trait Implementations§
Source§impl Clone for WindowContainer
impl Clone for WindowContainer
Source§fn clone(&self) -> WindowContainer
fn clone(&self) -> WindowContainer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowContainer
impl Debug for WindowContainer
impl Copy for WindowContainer
Auto Trait Implementations§
impl Freeze for WindowContainer
impl RefUnwindSafe for WindowContainer
impl Send for WindowContainer
impl Sync for WindowContainer
impl Unpin for WindowContainer
impl UnwindSafe for WindowContainer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more