[][src]Enum rustc_mir::borrow_check::prefixes::PrefixSet

pub(super) enum PrefixSet {
    All,
    Shallow,
    Supporting,
}

Variants

All

Doesn't stop until it returns the base case (a Local or Static prefix).

Shallow

Stops at any dereference.

Supporting

Stops at the deref of a shared reference.

Trait Implementations

impl Clone for PrefixSet[src]

impl Copy for PrefixSet[src]

impl Debug for PrefixSet[src]

impl Eq for PrefixSet[src]

impl PartialEq<PrefixSet> for PrefixSet[src]

impl StructuralEq for PrefixSet[src]

impl StructuralPartialEq for PrefixSet[src]

Auto Trait Implementations

impl RefUnwindSafe for PrefixSet

impl Send for PrefixSet

impl Sync for PrefixSet

impl Unpin for PrefixSet

impl UnwindSafe for PrefixSet

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]