Enum rustc_typeck::expr_use_visitor::ConsumeMode
source · [−]enum ConsumeMode {
Copy,
Move,
}Variants
Copy
reference to x where x has a type that copies
Move
reference to x where x has a type that moves
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConsumeMode
impl Send for ConsumeMode
impl Sync for ConsumeMode
impl Unpin for ConsumeMode
impl UnwindSafe for ConsumeMode
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:
Copy: 0 bytesMove: 0 bytes