Enum rustc_trans::middle::expr_use_visitor::MoveReason [] [src]

pub enum MoveReason {
    DirectRefMove,
    PatBindingMove,
    CaptureMove,
}
Unstable (rustc_private)

Variants

DirectRefMove
Unstable (rustc_private)
PatBindingMove
Unstable (rustc_private)
CaptureMove
Unstable (rustc_private)

Trait Implementations

Derived Implementations

impl Debug for MoveReason

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

Formats the value using the given formatter.

impl PartialEq<MoveReason> for MoveReason

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

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Clone for MoveReason

fn clone(&self) -> MoveReason

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for MoveReason