Enum rustc_mir::dataflow::move_paths::InitKind [−][src]
pub enum InitKind {
Deep,
Shallow,
NonPanicPathOnly,
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Additional information about the initialization.
Variants
Deep🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Deep init, even on panic
Shallow🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Only does a shallow init
NonPanicPathOnly🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
This doesn't initialize the variabe on panic (and a panic is possible).
Trait Implementations
impl Copy for InitKind[src]
impl Copy for InitKindimpl Clone for InitKind[src]
impl Clone for InitKindfn clone(&self) -> InitKind[src]
fn clone(&self) -> InitKindReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for InitKind[src]
impl Debug for InitKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for InitKind[src]
impl PartialEq for InitKindfn eq(&self, other: &InitKind) -> bool[src]
fn eq(&self, other: &InitKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for InitKind[src]
impl Eq for InitKindfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)