Enum rustc_lint::unused::UnusedDelimsCtx
source · enum UnusedDelimsCtx {
Show 14 variants
FunctionArg,
MethodArg,
AssignedValue,
AssignedValueLetElse,
IfCond,
WhileCond,
ForIterExpr,
MatchScrutineeExpr,
ReturnValue,
BlockRetValue,
LetScrutineeExpr,
ArrayLenExpr,
AnonConst,
MatchArmExpr,
}
Variants
FunctionArg
MethodArg
AssignedValue
AssignedValueLetElse
IfCond
WhileCond
ForIterExpr
MatchScrutineeExpr
ReturnValue
BlockRetValue
LetScrutineeExpr
ArrayLenExpr
AnonConst
MatchArmExpr
Trait Implementations
sourceimpl Clone for UnusedDelimsCtx
impl Clone for UnusedDelimsCtx
sourcefn clone(&self) -> UnusedDelimsCtx
fn clone(&self) -> UnusedDelimsCtx
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UnusedDelimsCtx
impl Debug for UnusedDelimsCtx
sourceimpl From<UnusedDelimsCtx> for &'static str
impl From<UnusedDelimsCtx> for &'static str
sourcefn from(ctx: UnusedDelimsCtx) -> &'static str
fn from(ctx: UnusedDelimsCtx) -> &'static str
Converts to this type from the input type.
sourceimpl PartialEq<UnusedDelimsCtx> for UnusedDelimsCtx
impl PartialEq<UnusedDelimsCtx> for UnusedDelimsCtx
sourcefn eq(&self, other: &UnusedDelimsCtx) -> bool
fn eq(&self, other: &UnusedDelimsCtx) -> bool
impl Copy for UnusedDelimsCtx
impl Eq for UnusedDelimsCtx
impl StructuralEq for UnusedDelimsCtx
impl StructuralPartialEq for UnusedDelimsCtx
Auto Trait Implementations
impl RefUnwindSafe for UnusedDelimsCtx
impl Send for UnusedDelimsCtx
impl Sync for UnusedDelimsCtx
impl Unpin for UnusedDelimsCtx
impl UnwindSafe for UnusedDelimsCtx
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
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: 1 byte
Size for each variant:
FunctionArg
: 0 bytesMethodArg
: 0 bytesAssignedValue
: 0 bytesAssignedValueLetElse
: 0 bytesIfCond
: 0 bytesWhileCond
: 0 bytesForIterExpr
: 0 bytesMatchScrutineeExpr
: 0 bytesReturnValue
: 0 bytesBlockRetValue
: 0 bytesLetScrutineeExpr
: 0 bytesArrayLenExpr
: 0 bytesAnonConst
: 0 bytesMatchArmExpr
: 0 bytes