Enum syntex_syntax::ast::StrStyle [] [src]

pub enum StrStyle {
    CookedStr,
    RawStr(usize),
}

Variants

CookedStr

A regular string, like "foo"

RawStr

A raw string, like r##"foo"##

The uint is the number of # symbols used

Trait Implementations

Derived Implementations

impl Copy for StrStyle

impl Debug for StrStyle

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

impl Hash for StrStyle

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

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

impl Decodable for StrStyle

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

impl Encodable for StrStyle

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

impl Eq for StrStyle

impl PartialEq for StrStyle

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

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

impl Clone for StrStyle

fn clone(&self) -> StrStyle

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