pub struct ExternalId(pub usize);Expand description
Every node or link contains an external id. This id is never modified by this library.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for ExternalId
impl Clone for ExternalId
Source§fn clone(&self) -> ExternalId
fn clone(&self) -> ExternalId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExternalId
impl Debug for ExternalId
Source§impl Ord for ExternalId
impl Ord for ExternalId
Source§fn cmp(&self, other: &ExternalId) -> Ordering
fn cmp(&self, other: &ExternalId) -> Ordering
1.21.0 · 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
Source§impl PartialEq for ExternalId
impl PartialEq for ExternalId
Source§impl PartialOrd for ExternalId
impl PartialOrd for ExternalId
impl Copy for ExternalId
impl Eq for ExternalId
impl StructuralPartialEq for ExternalId
Auto Trait Implementations§
impl Freeze for ExternalId
impl RefUnwindSafe for ExternalId
impl Send for ExternalId
impl Sync for ExternalId
impl Unpin for ExternalId
impl UnwindSafe for ExternalId
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