Struct crushtool::CrushBucketStraw2 [] [src]

pub struct CrushBucketStraw2 {
    pub bucket: Bucket,
    pub item_weights: Vec<u32>,
}

Fields

All weights are in 16-bit fixed point

Trait Implementations

impl Debug for CrushBucketStraw2
[src]

Formats the value using the given formatter.

impl Clone for CrushBucketStraw2
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for CrushBucketStraw2
[src]

impl Hash for CrushBucketStraw2
[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 CrushBucketStraw2
[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 CrushBucketStraw2
[src]

Deserialize a value using a Decoder.

impl Encodable for CrushBucketStraw2
[src]

Serialize a value using an Encoder.