Struct cfg::usefulness::UselessRule
[−]
[src]
pub struct UselessRule<R> { pub rule: R, pub unreachable: bool, pub unproductive: bool, }
A reference to a useless rule, together with the reason for its uselessness.
Fields
rule: R
Reference to a rule.
unreachable: bool
Indicates whether the rule is unreachable.
unproductive: bool
Indicates whether the rule is unproductive.
Trait Implementations
impl<R: Clone> Clone for UselessRule<R>
[src]
fn clone(&self) -> UselessRule<R>
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