pub struct UselessRule<R> { /* private fields */ }Expand description
A reference to a useless rule, together with the reason for its uselessness.
Implementations§
Source§impl<R> UselessRule<R>
impl<R> UselessRule<R>
pub fn rule(&self) -> &R
pub fn usefulness(&self) -> &RuleUsefulness
Trait Implementations§
Source§impl<R: Clone> Clone for UselessRule<R>
impl<R: Clone> Clone for UselessRule<R>
Source§fn clone(&self) -> UselessRule<R>
fn clone(&self) -> UselessRule<R>
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 moreAuto Trait Implementations§
impl<R> Freeze for UselessRule<R>where
R: Freeze,
impl<R> RefUnwindSafe for UselessRule<R>where
R: RefUnwindSafe,
impl<R> Send for UselessRule<R>where
R: Send,
impl<R> Sync for UselessRule<R>where
R: Sync,
impl<R> Unpin for UselessRule<R>where
R: Unpin,
impl<R> UnwindSafe for UselessRule<R>where
R: UnwindSafe,
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