pub enum LintIgnoreScope {
NextStatement,
File,
}Expand description
Scope of an inline lint suppression.
Variants§
NextStatement
-- waypoint:lint-ignore — applies to the next statement only.
File
-- waypoint:lint-ignore-file — applies to the whole file.
Trait Implementations§
Source§impl Clone for LintIgnoreScope
impl Clone for LintIgnoreScope
Source§fn clone(&self) -> LintIgnoreScope
fn clone(&self) -> LintIgnoreScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LintIgnoreScope
Source§impl Debug for LintIgnoreScope
impl Debug for LintIgnoreScope
Source§impl Display for LintIgnoreScope
impl Display for LintIgnoreScope
impl Eq for LintIgnoreScope
Source§impl PartialEq for LintIgnoreScope
impl PartialEq for LintIgnoreScope
Source§impl Serialize for LintIgnoreScope
impl Serialize for LintIgnoreScope
impl StructuralPartialEq for LintIgnoreScope
Auto Trait Implementations§
impl Freeze for LintIgnoreScope
impl RefUnwindSafe for LintIgnoreScope
impl Send for LintIgnoreScope
impl Sync for LintIgnoreScope
impl Unpin for LintIgnoreScope
impl UnsafeUnpin for LintIgnoreScope
impl UnwindSafe for LintIgnoreScope
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