Enum rustc_mir_dataflow::move_paths::InitKind [−][src]
pub enum InitKind {
Deep,
Shallow,
NonPanicPathOnly,
}
Expand description
Additional information about the initialization.
Variants
Deep init, even on panic
Only does a shallow init
This doesn’t initialize the variable on panic (and a panic is possible).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InitKind
impl UnwindSafe for InitKind
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:
Deep
: 0 bytesShallow
: 0 bytesNonPanicPathOnly
: 0 bytes