Enum syntax::parse::token::IdentStyleExperimental [-]  [+] [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> 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<__D: Decoder<__E>, __E> Decodable<__D, __E> for IdentStyle

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

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for IdentStyle

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

impl Clone for IdentStyle

fn clone(&self) -> IdentStyle

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