Struct crushtool::Rule
[−]
[src]
pub struct Rule { pub mask: CrushRuleMask, pub steps: Vec<CrushRuleStep>, }
Fields
mask: CrushRuleMask
steps: Vec<CrushRuleStep>
Trait Implementations
impl Debug for Rule
[src]
impl Clone for Rule
[src]
fn clone(&self) -> Rule
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for Rule
[src]
impl PartialEq for Rule
[src]
fn eq(&self, __arg_0: &Rule) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Rule) -> bool
This method tests for !=
.
impl Decodable for Rule
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Rule, __D::Error>
Deserialize a value using a Decoder
.