Expand description
A struct representing the value of a bit in a K2Tree’s stems.
This type is not intended to live for very long and is not linked to the live-state of the source K2Tree, so if the state of K2Tree changes then this could be invalid.
Fields
value: bool
The value of the bit.
layer: usize
The stem-layer of the bit.
stem: usize
The stem-number of the bit.
bit: usize
The index of the bit within its stem.
Trait Implementations
impl Copy for StemBit
impl StructuralPartialEq for StemBit
Auto Trait Implementations
impl RefUnwindSafe for StemBit
impl Send for StemBit
impl Sync for StemBit
impl Unpin for StemBit
impl UnwindSafe for StemBit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more