Enum clippy_utils::CaptureKind
source · [−]pub enum CaptureKind {
Value,
Ref(Mutability),
}Expand description
How a local is captured by a closure
Variants
Value
Ref(Mutability)
Implementations
Trait Implementations
Performs the |= operation. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CaptureKind
impl Send for CaptureKind
impl Sync for CaptureKind
impl Unpin for CaptureKind
impl UnwindSafe for CaptureKind
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:
Value: 0 bytesRef: 1 byte