pub struct SlabIndex(/* private fields */);Expand description
Implementations§
Source§impl SlabIndex
impl SlabIndex
Sourcepub fn i_actually_really_know_what_i_am_doing_and_i_want_the_inner_usize(
&self,
) -> usize
pub fn i_actually_really_know_what_i_am_doing_and_i_want_the_inner_usize( &self, ) -> usize
Returns the inner usize.
Annoyingly long names discourage use and make you really think about what you are doing.
Sourcepub fn i_actually_really_know_what_i_am_doing_and_i_want_to_construct_from_usize(
i: usize,
) -> Self
pub fn i_actually_really_know_what_i_am_doing_and_i_want_to_construct_from_usize( i: usize, ) -> Self
Trait Implementations§
Source§impl Ord for SlabIndex
impl Ord for SlabIndex
Source§impl PartialOrd for SlabIndex
impl PartialOrd for SlabIndex
impl Copy for SlabIndex
impl Eq for SlabIndex
impl StructuralPartialEq for SlabIndex
Auto Trait Implementations§
impl Freeze for SlabIndex
impl RefUnwindSafe for SlabIndex
impl Send for SlabIndex
impl Sync for SlabIndex
impl Unpin for SlabIndex
impl UnsafeUnpin for SlabIndex
impl UnwindSafe for SlabIndex
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.