#[repr(transparent)]pub struct TreeId(pub Uuid);Expand description
The stable identity of a Tree.
Use TreeId::ROOT for the main/root tree. For subtrees, use a random
UUID (version 4) to avoid collisions between independently created trees.
Tuple Fields§
§0: UuidImplementations§
Trait Implementations§
Source§impl Ord for TreeId
impl Ord for TreeId
Source§impl PartialOrd for TreeId
impl PartialOrd for TreeId
impl Copy for TreeId
impl Eq for TreeId
impl StructuralPartialEq for TreeId
Auto Trait Implementations§
impl Freeze for TreeId
impl RefUnwindSafe for TreeId
impl Send for TreeId
impl Sync for TreeId
impl Unpin for TreeId
impl UnsafeUnpin for TreeId
impl UnwindSafe for TreeId
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