[−][src]Struct rustc_mir::dataflow::framework::EffectIndex

pub struct EffectIndex {
    statement_index: usize,
    effect: Effect,
}

Fields

statement_index: usizeeffect: Effect

Implementations

impl EffectIndex[src]

pub(in dataflow::framework) fn next_in_forward_order(
    self
) -> Self
[src]

pub(in dataflow::framework) fn next_in_backward_order(
    self
) -> Self
[src]

pub(in dataflow::framework) fn precedes_in_forward_order(
    self,
    other: Self
) -> bool
[src]

Returns true if the effect at self should be applied eariler than the effect at other in forward order.

pub(in dataflow::framework) fn precedes_in_backward_order(
    self,
    other: Self
) -> bool
[src]

Returns true if the effect at self should be applied earlier than the effect at other in backward order.

Trait Implementations

impl Clone for EffectIndex[src]

impl Copy for EffectIndex[src]

impl Debug for EffectIndex[src]

impl Eq for EffectIndex[src]

impl PartialEq<EffectIndex> for EffectIndex[src]

impl StructuralEq for EffectIndex[src]

impl StructuralPartialEq for EffectIndex[src]

Auto Trait Implementations

impl RefUnwindSafe for EffectIndex

impl Send for EffectIndex

impl Sync for EffectIndex

impl Unpin for EffectIndex

impl UnwindSafe for EffectIndex

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]