Enum rustc_trans::middle::expr_use_visitor::LoanCause [−] [src]

pub enum LoanCause {
    ClosureCapture(Span),
    AddrOf,
    AutoRef,
    AutoUnsafe,
    RefBinding,
    OverloadedOperator,
    ClosureInvocation,
    ForLoop,
    MatchDiscriminant,
}
Unstable

Variants

ClosureCapture
Unstable
AddrOf
Unstable
AutoRef
Unstable
AutoUnsafe
Unstable
RefBinding
Unstable
OverloadedOperator
Unstable
ClosureInvocation
Unstable
ForLoop
Unstable
MatchDiscriminant
Unstable

Trait Implementations

Derived Implementations

impl Debug for LoanCause

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

impl PartialEq<LoanCause> for LoanCause

fn eq(&self, __arg_0: &LoanCause) -> bool

fn ne(&self, __arg_0: &LoanCause) -> bool

impl Clone for LoanCause

fn clone(&self) -> LoanCause

fn clone_from(&mut self, source: &Self)

impl Copy for LoanCause