pub struct UsefulnessForRule<'a> { /* private fields */ }Expand description
A reference to a useless rule, together with the reason for its uselessness.
Implementations§
Source§impl<'a> UsefulnessForRule<'a>
impl<'a> UsefulnessForRule<'a>
Sourcepub fn usefulness(&self) -> RuleUsefulness
pub fn usefulness(&self) -> RuleUsefulness
Get information about this rule’s usefulness.
Trait Implementations§
Source§impl<'a> Clone for UsefulnessForRule<'a>
impl<'a> Clone for UsefulnessForRule<'a>
Source§fn clone(&self) -> UsefulnessForRule<'a>
fn clone(&self) -> UsefulnessForRule<'a>
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<'a> Debug for UsefulnessForRule<'a>
impl<'a> Debug for UsefulnessForRule<'a>
impl<'a> Copy for UsefulnessForRule<'a>
Auto Trait Implementations§
impl<'a> Freeze for UsefulnessForRule<'a>
impl<'a> RefUnwindSafe for UsefulnessForRule<'a>
impl<'a> !Send for UsefulnessForRule<'a>
impl<'a> !Sync for UsefulnessForRule<'a>
impl<'a> Unpin for UsefulnessForRule<'a>
impl<'a> UnwindSafe for UsefulnessForRule<'a>
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