pub struct LeafIndex<const DEPTH: u8> { /* private fields */ }
Expand description
The index of a leaf, at a depth known at compile-time.
Implementations§
Trait Implementations§
source§impl<const DEPTH: u8> Ord for LeafIndex<DEPTH>
impl<const DEPTH: u8> Ord for LeafIndex<DEPTH>
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<const DEPTH: u8> PartialOrd for LeafIndex<DEPTH>
impl<const DEPTH: u8> PartialOrd for LeafIndex<DEPTH>
impl<const DEPTH: u8> Copy for LeafIndex<DEPTH>
impl<const DEPTH: u8> Eq for LeafIndex<DEPTH>
impl<const DEPTH: u8> StructuralPartialEq for LeafIndex<DEPTH>
Auto Trait Implementations§
impl<const DEPTH: u8> Freeze for LeafIndex<DEPTH>
impl<const DEPTH: u8> RefUnwindSafe for LeafIndex<DEPTH>
impl<const DEPTH: u8> Send for LeafIndex<DEPTH>
impl<const DEPTH: u8> Sync for LeafIndex<DEPTH>
impl<const DEPTH: u8> Unpin for LeafIndex<DEPTH>
impl<const DEPTH: u8> UnwindSafe for LeafIndex<DEPTH>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)