[−][src]Struct rustc_trait_selection::infer::region_constraints::TaintDirections

pub struct TaintDirections {
    pub(in infer::region_constraints) incoming: bool,
    pub(in infer::region_constraints) outgoing: bool,
}

When working with placeholder regions, we often wish to find all of the regions that are either reachable from a placeholder region, or which can reach a placeholder region, or both. We call such regions tainted regions. This struct allows you to decide what set of tainted regions you want.

Fields

incoming: booloutgoing: bool

Auto Trait Implementations

impl RefUnwindSafe for TaintDirections

impl Send for TaintDirections

impl Sync for TaintDirections

impl Unpin for TaintDirections

impl UnwindSafe for TaintDirections

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, 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]