pub struct RuleUsefulness {
pub reachable: bool,
pub productive: bool,
}Expand description
Useful rules are both reachable and productive.
Fields§
§reachable: boolIndicates whether the rule is unreachable.
productive: boolIndicates whether the rule is unproductive.
Trait Implementations§
Source§impl Clone for RuleUsefulness
impl Clone for RuleUsefulness
Source§fn clone(&self) -> RuleUsefulness
fn clone(&self) -> RuleUsefulness
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuleUsefulness
impl Debug for RuleUsefulness
impl Copy for RuleUsefulness
Auto Trait Implementations§
impl Freeze for RuleUsefulness
impl RefUnwindSafe for RuleUsefulness
impl Send for RuleUsefulness
impl Sync for RuleUsefulness
impl Unpin for RuleUsefulness
impl UnwindSafe for RuleUsefulness
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more