[−][src]Struct rustc_mir::dataflow::impls::borrowed_locals::TransferFunction

pub(in dataflow::impls::borrowed_locals) struct TransferFunction<'a, T, K> {
    trans: &'a mut T,
    kind: &'a K,
    ignore_borrow_on_drop: bool,
}

A Visitor that defines the transfer function for MaybeBorrowedLocals.

Fields

trans: &'a mut Tkind: &'a Kignore_borrow_on_drop: bool

Trait Implementations

impl<T, K, 'tcx, 'a> Visitor<'tcx> for TransferFunction<'a, T, K> where
    T: GenKill<Local>,
    K: BorrowAnalysisKind<'tcx>, 
[src]

Auto Trait Implementations

impl<'a, T, K> RefUnwindSafe for TransferFunction<'a, T, K> where
    K: RefUnwindSafe,
    T: RefUnwindSafe, 

impl<'a, T, K> Send for TransferFunction<'a, T, K> where
    K: Sync,
    T: Send, 

impl<'a, T, K> Sync for TransferFunction<'a, T, K> where
    K: Sync,
    T: Sync, 

impl<'a, T, K> Unpin for TransferFunction<'a, T, K>

impl<'a, T, K> !UnwindSafe for TransferFunction<'a, T, K>

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]