pub struct LogTreePosition<LogSize> {
pub level: LogHeight,
pub index: LogSize,
}Expand description
Position in the tree
Fields§
§level: LogHeight§index: LogSizeTrait Implementations§
Source§impl<LogSize: Clone> Clone for LogTreePosition<LogSize>
impl<LogSize: Clone> Clone for LogTreePosition<LogSize>
Source§fn clone(&self) -> LogTreePosition<LogSize>
fn clone(&self) -> LogTreePosition<LogSize>
Returns a duplicate 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<LogSize: Debug> Debug for LogTreePosition<LogSize>
impl<LogSize: Debug> Debug for LogTreePosition<LogSize>
Source§impl<LogSize> From<(usize, LogSize)> for LogTreePosition<LogSize>
impl<LogSize> From<(usize, LogSize)> for LogTreePosition<LogSize>
Source§impl<LogSize: Hash> Hash for LogTreePosition<LogSize>
impl<LogSize: Hash> Hash for LogTreePosition<LogSize>
Source§impl<LogSize: Ord> Ord for LogTreePosition<LogSize>
impl<LogSize: Ord> Ord for LogTreePosition<LogSize>
Source§fn cmp(&self, other: &LogTreePosition<LogSize>) -> Ordering
fn cmp(&self, other: &LogTreePosition<LogSize>) -> 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<LogSize: PartialEq> PartialEq for LogTreePosition<LogSize>
impl<LogSize: PartialEq> PartialEq for LogTreePosition<LogSize>
Source§impl<LogSize: PartialOrd> PartialOrd for LogTreePosition<LogSize>
impl<LogSize: PartialOrd> PartialOrd for LogTreePosition<LogSize>
impl<LogSize: Eq> Eq for LogTreePosition<LogSize>
impl<LogSize> StructuralPartialEq for LogTreePosition<LogSize>
Auto Trait Implementations§
impl<LogSize> Freeze for LogTreePosition<LogSize>where
LogSize: Freeze,
impl<LogSize> RefUnwindSafe for LogTreePosition<LogSize>where
LogSize: RefUnwindSafe,
impl<LogSize> Send for LogTreePosition<LogSize>where
LogSize: Send,
impl<LogSize> Sync for LogTreePosition<LogSize>where
LogSize: Sync,
impl<LogSize> Unpin for LogTreePosition<LogSize>where
LogSize: Unpin,
impl<LogSize> UnwindSafe for LogTreePosition<LogSize>where
LogSize: UnwindSafe,
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