[−][src]Struct k2_tree::tree::StemBit
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 Clone for StemBit
[src]
impl Copy for StemBit
[src]
impl Debug for StemBit
[src]
impl PartialEq<StemBit> for StemBit
[src]
impl StructuralPartialEq for StemBit
[src]
Auto Trait Implementations
impl RefUnwindSafe for StemBit
[src]
impl Send for StemBit
[src]
impl Sync for StemBit
[src]
impl Unpin for StemBit
[src]
impl UnwindSafe for StemBit
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,