pub struct TreeShape {
pub counts: Vec<u8>,
}Expand description
Static tree shape: per-depth node counts.
Fields§
§counts: Vec<u8>counts[d-1] = number of candidate nodes at depth d (1 = spine only).
Implementations§
Trait Implementations§
impl Eq for TreeShape
impl StructuralPartialEq for TreeShape
Auto Trait Implementations§
impl Freeze for TreeShape
impl RefUnwindSafe for TreeShape
impl Send for TreeShape
impl Sync for TreeShape
impl Unpin for TreeShape
impl UnwindSafe for TreeShape
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.