pub struct LayoutNodeId {
pub index: usize,
pub generation: u32,
}Expand description
Generational identifier for a node in the layout tree.
Fields§
§index: usize§generation: u32Implementations§
Trait Implementations§
Source§impl Clone for LayoutNodeId
impl Clone for LayoutNodeId
impl Copy for LayoutNodeId
Source§impl Debug for LayoutNodeId
impl Debug for LayoutNodeId
Source§impl Display for LayoutNodeId
impl Display for LayoutNodeId
impl Eq for LayoutNodeId
Source§impl Hash for LayoutNodeId
impl Hash for LayoutNodeId
Source§impl Ord for LayoutNodeId
impl Ord for LayoutNodeId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LayoutNodeId
impl PartialEq for LayoutNodeId
Source§impl PartialOrd for LayoutNodeId
impl PartialOrd for LayoutNodeId
impl StructuralPartialEq for LayoutNodeId
Auto Trait Implementations§
impl Forget for LayoutNodeId
impl Freeze for LayoutNodeId
impl Move for LayoutNodeId
impl RefUnwindSafe for LayoutNodeId
impl Send for LayoutNodeId
impl Sync for LayoutNodeId
impl Unpin for LayoutNodeId
impl UnsafeUnpin for LayoutNodeId
impl UnwindSafe for LayoutNodeId
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