pub struct LinkedListIndex(/* private fields */);
Expand description
A newtype for the index of an item in the list.
Trait Implementations§
Source§impl Clone for LinkedListIndex
impl Clone for LinkedListIndex
Source§fn clone(&self) -> LinkedListIndex
fn clone(&self) -> LinkedListIndex
Returns a copy 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 LinkedListIndex
impl Debug for LinkedListIndex
Source§impl Default for LinkedListIndex
impl Default for LinkedListIndex
Source§fn default() -> LinkedListIndex
fn default() -> LinkedListIndex
Returns the “default value” for a type. Read more
Source§impl From<KeyData> for LinkedListIndex
impl From<KeyData> for LinkedListIndex
Source§impl Hash for LinkedListIndex
impl Hash for LinkedListIndex
Source§impl Key for LinkedListIndex
impl Key for LinkedListIndex
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!
, which calls this
method). Read moreSource§impl Ord for LinkedListIndex
impl Ord for LinkedListIndex
Source§fn cmp(&self, other: &LinkedListIndex) -> Ordering
fn cmp(&self, other: &LinkedListIndex) -> 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 LinkedListIndex
impl PartialEq for LinkedListIndex
Source§impl PartialOrd for LinkedListIndex
impl PartialOrd for LinkedListIndex
impl Copy for LinkedListIndex
impl Eq for LinkedListIndex
impl StructuralPartialEq for LinkedListIndex
Auto Trait Implementations§
impl Freeze for LinkedListIndex
impl RefUnwindSafe for LinkedListIndex
impl Send for LinkedListIndex
impl Sync for LinkedListIndex
impl Unpin for LinkedListIndex
impl UnwindSafe for LinkedListIndex
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