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. Read more

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 PartialEq for BindStyle
[src]

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

This method tests for !=.

impl Eq for BindStyle
[src]

impl Hash for BindStyle
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl ToTokens for BindStyle
[src]

Write self to the given TokenStream. Read more

Convert self directly into a TokenStream object. Read more

Auto Trait Implementations

impl Send for BindStyle

impl Sync for BindStyle