Struct crushtool::CrushBucketList [] [src]

pub struct CrushBucketList {
    pub bucket: Bucket,
    pub item_weights: Vec<(u32, u32)>,
}

Fields

All weights are in 16-bit fixed point

Trait Implementations

impl Debug for CrushBucketList
[src]

Formats the value using the given formatter.

impl Clone for CrushBucketList
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for CrushBucketList
[src]

impl Hash for CrushBucketList
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for CrushBucketList
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Decodable for CrushBucketList
[src]

Deserialize a value using a Decoder.

impl Encodable for CrushBucketList
[src]

Serialize a value using an Encoder.