Enum rustc_lint::unused::UnusedDelimsCtx [−][src]
enum UnusedDelimsCtx {
Show 13 variants
FunctionArg,
MethodArg,
AssignedValue,
AssignedValueLetElse,
IfCond,
WhileCond,
ForIterExpr,
MatchScrutineeExpr,
ReturnValue,
BlockRetValue,
LetScrutineeExpr,
ArrayLenExpr,
AnonConst,
}
Variants
Trait Implementations
Performs the conversion.
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
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 bytes