pub struct LinkId(/* private fields */);Expand description
A contiguous document-local link identifier.
IDs are meaningful only with the Document that produced them. Resolve
one with Document::link instead of indexing a slice manually.
Implementations§
Trait Implementations§
impl Copy for LinkId
impl Eq for LinkId
Source§impl Ord for LinkId
impl Ord for LinkId
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 PartialOrd for LinkId
impl PartialOrd for LinkId
impl StructuralPartialEq for LinkId
Auto Trait Implementations§
impl Forget for LinkId
impl Freeze for LinkId
impl RefUnwindSafe for LinkId
impl Send for LinkId
impl Sync for LinkId
impl Unpin for LinkId
impl UnsafeUnpin for LinkId
impl UnwindSafe for LinkId
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