Struct syn::Discriminant [] [src]

pub struct Discriminant {
    pub value: u64,
    pub ty: IntTy,
}

Fields

Trait Implementations

impl ToTokens for Discriminant
[src]

impl Debug for Discriminant
[src]

Formats the value using the given formatter.

impl Copy for Discriminant
[src]

impl Clone for Discriminant
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Discriminant
[src]

impl PartialEq for Discriminant
[src]

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

This method tests for !=.