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 Debug for IdentStyle

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

impl Hash for IdentStyle

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

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)