Enum rustc::middle::expr_use_visitor::ConsumeMode
[−]
[src]
pub enum ConsumeMode { Copy, Move(MoveReason), }
Unstable (
rustc_private
)Variants
Copy
Unstable (
rustc_private
)Move(MoveReason)
Unstable (
rustc_private
)Trait Implementations
Derived Implementations
impl Debug for ConsumeMode
[src]
impl PartialEq for ConsumeMode
[src]
fn eq(&self, __arg_0: &ConsumeMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ConsumeMode) -> bool
This method tests for !=
.
impl Clone for ConsumeMode
[src]
fn clone(&self) -> ConsumeMode
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