Enum rustc_mir::borrow_check::borrow_set::TwoPhaseActivation[][src]

pub(crate) enum TwoPhaseActivation {
    NotTwoPhase,
    NotActivated,
    ActivatedAt(Location),
}

Location where a two-phase borrow is activated, if a borrow is in fact a two-phase borrow.

Variants

NotTwoPhase
NotActivated
ActivatedAt(Location)

Trait Implementations

impl Clone for TwoPhaseActivation[src]

impl Copy for TwoPhaseActivation[src]

impl Debug for TwoPhaseActivation[src]

impl Eq for TwoPhaseActivation[src]

impl PartialEq<TwoPhaseActivation> for TwoPhaseActivation[src]

impl StructuralEq for TwoPhaseActivation[src]

impl StructuralPartialEq for TwoPhaseActivation[src]

Auto Trait Implementations

impl RefUnwindSafe for TwoPhaseActivation

impl Send for TwoPhaseActivation

impl Sync for TwoPhaseActivation

impl Unpin for TwoPhaseActivation

impl UnwindSafe for TwoPhaseActivation

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]