#[repr(C)]pub struct Subtree {
pub subtree_node_index: usize,
pub pos_in_layer: usize,
pub leaf_start: usize,
pub leaf_count: usize,
pub lower_height: usize,
pub upper_height: usize,
}
Fields§
§subtree_node_index: usize
§pos_in_layer: usize
§leaf_start: usize
§leaf_count: usize
§lower_height: usize
§upper_height: usize
Implementations§
Trait Implementations§
impl Copy for Subtree
impl Pod for Subtree
impl StructuralPartialEq for Subtree
Auto Trait Implementations§
impl Freeze for Subtree
impl RefUnwindSafe for Subtree
impl Send for Subtree
impl Sync for Subtree
impl Unpin for Subtree
impl UnwindSafe for Subtree
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.