Enum synstructure::BindStyle [] [src]

pub enum BindStyle {
    Move,
    MoveMut,
    Ref,
    RefMut,
}

The type of binding to use when generating a pattern.

Variants

x

mut x

ref x

ref mut x

Trait Implementations

impl Debug for BindStyle
[src]

Formats the value using the given formatter.

impl Copy for BindStyle
[src]

impl Clone for BindStyle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ToTokens for BindStyle
[src]

Write self to the given Tokens. Read more