pub struct WindowRef { /* private fields */ }Expand description
A token-bound capability for a component’s owning window.
Requests are accepted only during create, changed, or update on the owning window. The
Pump commits an accepted request after the resulting candidate publishes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WindowRef
impl !Send for WindowRef
impl !Sync for WindowRef
impl !UnwindSafe for WindowRef
impl Freeze for WindowRef
impl Unpin for WindowRef
impl UnsafeUnpin 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