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 variable on panic (and a panic is possible).
Trait Implementations
impl Copy for InitKind
[src]
impl Copy for InitKind
impl Clone for InitKind
[src]
impl Clone for InitKind
fn clone(&self) -> InitKind
[src]
fn clone(&self) -> InitKind
Returns 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 InitKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for InitKind
[src]
impl PartialEq for InitKind
fn eq(&self, other: &InitKind) -> bool
[src]
fn eq(&self, other: &InitKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for InitKind
[src]
impl Eq for InitKind
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)