Enum synstructure::BindStyle
[−]
[src]
pub enum BindStyle { Move, MoveMut, Ref, RefMut, }
The type of binding to use when generating a pattern.
Variants
Move
x
MoveMut
mut x
Ref
ref x
RefMut
ref mut x
Trait Implementations
impl Debug for BindStyle
[src]
impl Copy for BindStyle
[src]
impl Clone for BindStyle
[src]
fn clone(&self) -> BindStyle
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