pub enum RootId {
Primary,
Window(u64),
}Expand description
Names a root surface of the app: the primary window, or a window root
declared with Modifier::window_root
by the id given there.
Variants§
Primary
The composition root, drawn in the app’s first window.
Window(u64)
The node carrying Modifier::window_root with this id.
Trait Implementations§
impl Copy for RootId
impl Eq for RootId
impl StructuralPartialEq for RootId
Auto Trait Implementations§
impl Freeze for RootId
impl RefUnwindSafe for RootId
impl Send for RootId
impl Sync for RootId
impl Unpin for RootId
impl UnsafeUnpin for RootId
impl UnwindSafe for RootId
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