[−][src]Struct rustc_mir::borrow_check::constraints::graph::Reverse

pub(crate) struct Reverse;

In reverse mode, a R1: R2 constraint results in an edge R2 -> R1. We use this for optimizing liveness computation, because then we wish to iterate from a region (e.g., R2) to all the regions that will outlive it (e.g., R1).

Trait Implementations

impl Clone for Reverse[src]

impl ConstraintGraphDirecton for Reverse[src]

impl Copy for Reverse[src]

impl Debug for Reverse[src]

Auto Trait Implementations

impl RefUnwindSafe for Reverse

impl Send for Reverse

impl Sync for Reverse

impl Unpin for Reverse

impl UnwindSafe for Reverse

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]