Struct crushtool::Rule [] [src]

pub struct Rule {
    pub mask: CrushRuleMask,
    pub steps: Vec<CrushRuleStep>,
}

Fields

Trait Implementations

impl Debug for Rule
[src]

Formats the value using the given formatter.

impl Clone for Rule
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Rule
[src]

impl PartialEq for Rule
[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 Rule
[src]

Deserialize a value using a Decoder.

impl Encodable for Rule
[src]

Serialize a value using an Encoder.