Struct selene_lib::rules::deprecated::DeprecatedLint
source · [−]pub struct DeprecatedLint;Trait Implementations
sourceimpl Rule for DeprecatedLint
impl Rule for DeprecatedLint
type Config = ()
type Error = Infallible
fn new(_: Self::Config) -> Result<Self, Self::Error>
fn pass(&self, ast: &Ast, context: &Context) -> Vec<Diagnostic>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn rule_type(&self) -> RuleType
fn severity(&self) -> Severity
Auto Trait Implementations
impl RefUnwindSafe for DeprecatedLint
impl Send for DeprecatedLint
impl Sync for DeprecatedLint
impl Unpin for DeprecatedLint
impl UnwindSafe for DeprecatedLint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more