Enum rustc_mir::borrow_check::borrow_set::TwoPhaseActivation [−][src]
pub(crate) enum TwoPhaseActivation {
NotTwoPhase,
NotActivated,
ActivatedAt(Location),
}🔬 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?
Location where a two phase borrow is activated, if a borrow is in fact a two phase borrow.
Variants
NotTwoPhase🔬 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?
NotActivated🔬 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?
ActivatedAt(Location)🔬 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?
Trait Implementations
impl Copy for TwoPhaseActivation[src]
impl Copy for TwoPhaseActivationimpl Clone for TwoPhaseActivation[src]
impl Clone for TwoPhaseActivationfn clone(&self) -> TwoPhaseActivation[src]
fn clone(&self) -> TwoPhaseActivationReturns 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 PartialEq for TwoPhaseActivation[src]
impl PartialEq for TwoPhaseActivationfn eq(&self, other: &TwoPhaseActivation) -> bool[src]
fn eq(&self, other: &TwoPhaseActivation) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TwoPhaseActivation) -> bool[src]
fn ne(&self, other: &TwoPhaseActivation) -> boolThis method tests for !=.
impl Eq for TwoPhaseActivation[src]
impl Eq for TwoPhaseActivationfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Debug for TwoPhaseActivation[src]
impl Debug for TwoPhaseActivationAuto Trait Implementations
impl Send for TwoPhaseActivation
impl Send for TwoPhaseActivationimpl Sync for TwoPhaseActivation
impl Sync for TwoPhaseActivation