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]

[src]

Formats the value using the given formatter.

impl Copy for BindStyle
[src]

impl Clone for BindStyle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for BindStyle
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for BindStyle
[src]

impl Hash for BindStyle
[src]

[src]

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

1.3.0
[src]

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

impl ToTokens for BindStyle
[src]

[src]

Write self to the given Tokens. Read more

[src]

Convert self directly into a Tokens object. Read more