Struct rustc_lint::nonstandard_style::NonSnakeCase [−][src]
pub struct NonSnakeCase;
Implementations
Checks if a given identifier is snake case, and reports a diagnostic if not.
Trait Implementations
fn check_fn(
&mut self,
cx: &LateContext<'_>,
fk: FnKind<'_>,
_: &FnDecl<'_>,
_: &Body<'_>,
_: Span,
id: HirId
)
fn check_poly_trait_ref(
&mut self,
_: &LateContext<'tcx>,
_: &'tcx PolyTraitRef<'tcx>,
_: TraitBoundModifier
)
fn check_fn_post(
&mut self,
_: &LateContext<'tcx>,
_: FnKind<'tcx>,
_: &'tcx FnDecl<'tcx>,
_: &'tcx Body<'tcx>,
_: Span,
_: HirId
)
Auto Trait Implementations
impl RefUnwindSafe for NonSnakeCase
impl Send for NonSnakeCase
impl Sync for NonSnakeCase
impl Unpin for NonSnakeCase
impl UnwindSafe for NonSnakeCase
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes