pub struct LeafNodeIndex(/* private fields */);
Expand description
LeafNodeIndex references a leaf node in a tree.
Implementations§
Trait Implementations§
Source§impl Clone for LeafNodeIndex
impl Clone for LeafNodeIndex
Source§fn clone(&self) -> LeafNodeIndex
fn clone(&self) -> LeafNodeIndex
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 LeafNodeIndex
impl Debug for LeafNodeIndex
Source§impl<'de> Deserialize<'de> for LeafNodeIndex
impl<'de> Deserialize<'de> for LeafNodeIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Deserialize for LeafNodeIndex
impl Deserialize for LeafNodeIndex
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
This function deserializes the
bytes
from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl DeserializeBytes for LeafNodeIndex
impl DeserializeBytes for LeafNodeIndex
Source§impl Display for LeafNodeIndex
impl Display for LeafNodeIndex
Source§impl Hash for LeafNodeIndex
impl Hash for LeafNodeIndex
Source§impl Ord for LeafNodeIndex
impl Ord for LeafNodeIndex
Source§fn cmp(&self, other: &LeafNodeIndex) -> Ordering
fn cmp(&self, other: &LeafNodeIndex) -> 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 LeafNodeIndex
impl PartialEq for LeafNodeIndex
Source§impl PartialOrd for LeafNodeIndex
impl PartialOrd for LeafNodeIndex
Source§impl Serialize for &LeafNodeIndex
impl Serialize for &LeafNodeIndex
Source§impl Serialize for LeafNodeIndex
impl Serialize for LeafNodeIndex
Source§impl Serialize for LeafNodeIndex
impl Serialize for LeafNodeIndex
Source§impl Size for &LeafNodeIndex
impl Size for &LeafNodeIndex
fn tls_serialized_len(&self) -> usize
Source§impl Size for LeafNodeIndex
impl Size for LeafNodeIndex
fn tls_serialized_len(&self) -> usize
impl Copy for LeafNodeIndex
impl Entity<CURRENT_VERSION> for LeafNodeIndex
impl Eq for LeafNodeIndex
impl LeafNodeIndex<CURRENT_VERSION> for LeafNodeIndex
impl StructuralPartialEq for LeafNodeIndex
Auto Trait Implementations§
impl Freeze for LeafNodeIndex
impl RefUnwindSafe for LeafNodeIndex
impl Send for LeafNodeIndex
impl Sync for LeafNodeIndex
impl Unpin for LeafNodeIndex
impl UnwindSafe for LeafNodeIndex
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more