Struct crushtool::CrushBucketUniform [] [src]

pub struct CrushBucketUniform {
    pub bucket: Bucket,
    pub item_weight: u32,
}

All items are equally weighted.

Fields

16-bit fixed point; all items equally weighted

Trait Implementations

impl Debug for CrushBucketUniform
[src]

Formats the value using the given formatter.

impl Clone for CrushBucketUniform
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for CrushBucketUniform
[src]

impl Hash for CrushBucketUniform
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialEq for CrushBucketUniform
[src]

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

This method tests for !=.

impl Encodable for CrushBucketUniform
[src]

Serialize a value using an Encoder.

impl Decodable for CrushBucketUniform
[src]

Deserialize a value using a Decoder.