[][src]Enum rustc_mir::dataflow::framework::Effect

pub enum Effect {
    Before,
    Primary,
}

Variants

Before

The "before" effect (e.g., apply_before_statement_effect) for a statement (or terminator).

Primary

The "primary" effect (e.g., apply_statement_effect) for a statement (or terminator).

Implementations

impl Effect[src]

pub const fn at_index(self, statement_index: usize) -> EffectIndex[src]

Trait Implementations

impl Clone for Effect[src]

impl Copy for Effect[src]

impl Debug for Effect[src]

impl Eq for Effect[src]

impl Ord for Effect[src]

impl PartialEq<Effect> for Effect[src]

impl PartialOrd<Effect> for Effect[src]

impl StructuralEq for Effect[src]

impl StructuralPartialEq for Effect[src]

Auto Trait Implementations

impl RefUnwindSafe for Effect

impl Send for Effect

impl Sync for Effect

impl Unpin for Effect

impl UnwindSafe for Effect

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]