#[repr(C)]pub struct crush_bucket_tree {
pub h: crush_bucket,
pub num_nodes: u8,
pub node_weights: *mut u32,
}Fields§
§h: crush_bucket§num_nodes: u8§node_weights: *mut u32Trait Implementations§
Source§impl Clone for crush_bucket_tree
impl Clone for crush_bucket_tree
Source§fn clone(&self) -> crush_bucket_tree
fn clone(&self) -> crush_bucket_tree
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for crush_bucket_tree
Auto Trait Implementations§
impl !Send for crush_bucket_tree
impl !Sync for crush_bucket_tree
impl Freeze for crush_bucket_tree
impl RefUnwindSafe for crush_bucket_tree
impl Unpin for crush_bucket_tree
impl UnsafeUnpin for crush_bucket_tree
impl UnwindSafe for crush_bucket_tree
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