[−][src]Struct starling::tree::tree_branch::TreeBranch
A struct representing a branch in the tree.
Trait Implementations
impl<ArrayType> Branch<ArrayType> for TreeBranch<ArrayType> where
ArrayType: Array,
[src]
ArrayType: Array,
fn new() -> Self
[src]
fn get_count(&self) -> u64
[src]
fn get_zero(&self) -> &ArrayType
[src]
fn get_one(&self) -> &ArrayType
[src]
fn get_split_index(&self) -> usize
[src]
fn get_key(&self) -> &ArrayType
[src]
fn set_count(&mut self, count: u64)
[src]
fn set_zero(&mut self, zero: ArrayType)
[src]
fn set_one(&mut self, one: ArrayType)
[src]
fn set_split_index(&mut self, index: usize)
[src]
fn set_key(&mut self, key: ArrayType)
[src]
fn decompose(self) -> (u64, ArrayType, ArrayType, usize, ArrayType)
[src]
impl<ArrayType: Clone> Clone for TreeBranch<ArrayType> where
ArrayType: Array,
[src]
ArrayType: Array,
fn clone(&self) -> TreeBranch<ArrayType>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<ArrayType: Copy> Copy for TreeBranch<ArrayType> where
ArrayType: Array,
[src]
ArrayType: Array,
impl<ArrayType: Debug> Debug for TreeBranch<ArrayType> where
ArrayType: Array,
[src]
ArrayType: Array,
impl<ArrayType: Eq> Eq for TreeBranch<ArrayType> where
ArrayType: Array,
[src]
ArrayType: Array,
impl<ArrayType> Node<TreeBranch<ArrayType>, TreeLeaf<ArrayType>, TreeData, ArrayType> for TreeNode<ArrayType> where
ArrayType: Array,
[src]
ArrayType: Array,
fn new(
node_variant: NodeVariant<TreeBranch<ArrayType>, TreeLeaf<ArrayType>, TreeData, ArrayType>
) -> Self
[src]
node_variant: NodeVariant<TreeBranch<ArrayType>, TreeLeaf<ArrayType>, TreeData, ArrayType>
) -> Self
fn get_references(&self) -> u64
[src]
fn get_variant(
self
) -> NodeVariant<TreeBranch<ArrayType>, TreeLeaf<ArrayType>, TreeData, ArrayType>
[src]
self
) -> NodeVariant<TreeBranch<ArrayType>, TreeLeaf<ArrayType>, TreeData, ArrayType>
fn set_references(&mut self, references: u64)
[src]
fn set_branch(&mut self, branch: TreeBranch<ArrayType>)
[src]
fn set_leaf(&mut self, leaf: TreeLeaf<ArrayType>)
[src]
fn set_data(&mut self, data: TreeData)
[src]
impl<ArrayType: PartialEq> PartialEq<TreeBranch<ArrayType>> for TreeBranch<ArrayType> where
ArrayType: Array,
[src]
ArrayType: Array,
fn eq(&self, other: &TreeBranch<ArrayType>) -> bool
[src]
fn ne(&self, other: &TreeBranch<ArrayType>) -> bool
[src]
impl<ArrayType> StructuralEq for TreeBranch<ArrayType> where
ArrayType: Array,
[src]
ArrayType: Array,
impl<ArrayType> StructuralPartialEq for TreeBranch<ArrayType> where
ArrayType: Array,
[src]
ArrayType: Array,
Auto Trait Implementations
impl<ArrayType> RefUnwindSafe for TreeBranch<ArrayType> where
ArrayType: RefUnwindSafe,
ArrayType: RefUnwindSafe,
impl<ArrayType> Send for TreeBranch<ArrayType> where
ArrayType: Send,
ArrayType: Send,
impl<ArrayType> Sync for TreeBranch<ArrayType> where
ArrayType: Sync,
ArrayType: Sync,
impl<ArrayType> Unpin for TreeBranch<ArrayType> where
ArrayType: Unpin,
ArrayType: Unpin,
impl<ArrayType> UnwindSafe for TreeBranch<ArrayType> where
ArrayType: UnwindSafe,
ArrayType: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,