pub struct ElementId(pub u64);Expand description
Opaque numeric ID of a node in the reconciled element tree.
The public payload supports allocation by the runtime; zero has no special meaning at this type layer.
§Examples
use ailloli_ui_core::ElementId;
assert_eq!(ElementId(42).0, 42);Tuple Fields§
§0: u64Trait Implementations§
impl Copy for ElementId
impl Eq for ElementId
impl StructuralPartialEq for ElementId
Auto Trait Implementations§
impl Freeze for ElementId
impl RefUnwindSafe for ElementId
impl Send for ElementId
impl Sync for ElementId
impl Unpin for ElementId
impl UnwindSafe for ElementId
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