pub struct WindowRef<'a>(/* private fields */);Methods from Deref<Target = Window<void>>§
pub fn hide(&self, animated: bool) -> bool
pub fn is_loaded(&self) -> bool
Sourcepub fn show(&self, animated: bool)
pub fn show(&self, animated: bool)
Pushes this window onto the window navidation stack, as topmost window of the app.
§Arguments
animated: Whether to animate the push using a sliding animation.
pub fn set_background_color(&self, background_color: Color8)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for WindowRef<'a>
impl<'a> !RefUnwindSafe for WindowRef<'a>
impl<'a> !Send for WindowRef<'a>
impl<'a> !Sync for WindowRef<'a>
impl<'a> Unpin for WindowRef<'a>
impl<'a> !UnwindSafe for WindowRef<'a>
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