Enum rustc_hir::hir::Movability [−][src]
pub enum Movability {
Static,
Movable,
}Expand description
The movability of a generator / closure literal:
whether a generator contains self-references, causing it to be !Unpin.
Variants
May contain self-references, !Unpin.
Must not contain self-references, Unpin.
Auto Trait Implementations
impl RefUnwindSafe for Movabilityimpl Send for Movabilityimpl Sync for Movabilityimpl Unpin for Movabilityimpl UnwindSafe for MovabilityBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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