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

Reference to a rule.

Indicates whether the rule is unreachable.

Indicates whether the rule is unproductive.

Trait Implementations

impl<R: Clone> Clone for UselessRule<R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<R: Debug> Debug for UselessRule<R>
[src]

Formats the value using the given formatter.