pub struct Node<B: DigitBin> {
pub content: NodeContent<B>,
pub accumulated_value: u64,
pub content_count: u64,
}Expand description
A node within the DigitBinIndex tree.
Fields§
§content: NodeContent<B>The content of this node, either more nodes or a list of individual IDs.
accumulated_value: u64The total sum of scaled values stored under this node.
content_count: u64The total count of individuals stored under this node.
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for Node<B>where
B: Freeze,
impl<B> RefUnwindSafe for Node<B>where
B: RefUnwindSafe,
impl<B> Send for Node<B>where
B: Send,
impl<B> Sync for Node<B>where
B: Sync,
impl<B> Unpin for Node<B>where
B: Unpin,
impl<B> UnwindSafe for Node<B>where
B: 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