pub struct WindowRef { /* private fields */ }
Expand description
A reference to a window
Methods from Deref<Target = Window>§
sourcepub fn set_geometry<R: Into<Rect<i32>>>(&self, geometry: R)
pub fn set_geometry<R: Into<Rect<i32>>>(&self, geometry: R)
Sets the geometry of this window
sourcepub fn set_visible(&self, visible: bool)
pub fn set_visible(&self, visible: bool)
Sets the window as visible or invisible
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WindowRef
impl !RefUnwindSafe for WindowRef
impl !Send for WindowRef
impl !Sync for WindowRef
impl Unpin for WindowRef
impl !UnwindSafe for WindowRef
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