pub struct SmallIndex(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for SmallIndex
impl Clone for SmallIndex
Source§fn clone(&self) -> SmallIndex
fn clone(&self) -> SmallIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SmallIndex
Source§impl Debug for SmallIndex
impl Debug for SmallIndex
impl Eq for SmallIndex
Source§impl From<SmallIndex> for u16
impl From<SmallIndex> for u16
Source§fn from(value: SmallIndex) -> Self
fn from(value: SmallIndex) -> Self
Converts to this type from the input type.
Source§impl Hash for SmallIndex
impl Hash for SmallIndex
Source§impl PartialEq for SmallIndex
impl PartialEq for SmallIndex
Source§fn eq(&self, other: &SmallIndex) -> bool
fn eq(&self, other: &SmallIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SmallIndex
impl PartialOrd for SmallIndex
Source§impl SlabIndex for SmallIndex
impl SlabIndex for SmallIndex
impl StructuralPartialEq for SmallIndex
Auto Trait Implementations§
impl Freeze for SmallIndex
impl RefUnwindSafe for SmallIndex
impl Send for SmallIndex
impl Sync for SmallIndex
impl Unpin for SmallIndex
impl UnsafeUnpin for SmallIndex
impl UnwindSafe for SmallIndex
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