pub struct AllowLints<Lints>(pub Lints);Expand description
The attribute content for allow(...). The tuple value must be a sequence.
Tuple Fields§
§0: LintsTrait Implementations§
Source§impl<Lints: Clone> Clone for AllowLints<Lints>
impl<Lints: Clone> Clone for AllowLints<Lints>
Source§fn clone(&self) -> AllowLints<Lints>
fn clone(&self) -> AllowLints<Lints>
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<Lints: Debug> Debug for AllowLints<Lints>
impl<Lints: Debug> Debug for AllowLints<Lints>
Auto Trait Implementations§
impl<Lints> Freeze for AllowLints<Lints>where
Lints: Freeze,
impl<Lints> RefUnwindSafe for AllowLints<Lints>where
Lints: RefUnwindSafe,
impl<Lints> Send for AllowLints<Lints>where
Lints: Send,
impl<Lints> Sync for AllowLints<Lints>where
Lints: Sync,
impl<Lints> Unpin for AllowLints<Lints>where
Lints: Unpin,
impl<Lints> UnwindSafe for AllowLints<Lints>where
Lints: 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