pub struct CurrentWindow(pub NodeId);Expand description
The window whose content is being built: provided in each window’s
scope, so views can find the window they’re in (a modal Window
belongs to it, a Toolbar’s items go in its toolbar).
Tuple Fields§
§0: NodeIdTrait Implementations§
Source§impl Clone for CurrentWindow
impl Clone for CurrentWindow
impl Copy for CurrentWindow
Source§impl Debug for CurrentWindow
impl Debug for CurrentWindow
impl Eq for CurrentWindow
Source§impl PartialEq for CurrentWindow
impl PartialEq for CurrentWindow
impl StructuralPartialEq for CurrentWindow
Auto Trait Implementations§
impl Freeze for CurrentWindow
impl RefUnwindSafe for CurrentWindow
impl Send for CurrentWindow
impl Sync for CurrentWindow
impl Unpin for CurrentWindow
impl UnsafeUnpin for CurrentWindow
impl UnwindSafe for CurrentWindow
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