Enum syntax::parse::token::IdentStyleUnstable [-]  [+] [src]

pub enum IdentStyle {
    ModName,
    Plain,
}

Variants

ModName

:: follows the identifier with no whitespace in-between.

Plain

Trait Implementations

Derived Implementations

impl Copy for IdentStyle

impl Show for IdentStyle

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<__S: Writer + Hasher> Hash<__S> for IdentStyle

fn hash(&self, __arg_0: &mut __S)

impl Eq for IdentStyle

fn assert_receiver_is_total_eq(&self)

impl PartialEq for IdentStyle

fn eq(&self, __arg_0: &IdentStyle) -> bool

fn ne(&self, __arg_0: &IdentStyle) -> bool

impl Decodable for IdentStyle

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<IdentStyle, Error>

impl Encodable for IdentStyle

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), Error>

impl Clone for IdentStyle

fn clone(&self) -> IdentStyle

fn clone_from(&mut self, source: &Self)