Enum syntax::ast::StrStyle [−][src]
pub enum StrStyle { Cooked, Raw(u16), }
Variants
Cooked
A regular string, like "foo"
Raw(u16)
A raw string, like r##"foo"##
The value is the number of #
symbols used.
Trait Implementations
impl Clone for StrStyle
[src]
impl Clone for StrStyle
fn clone(&self) -> StrStyle
[src]
fn clone(&self) -> StrStyle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Encodable for StrStyle
[src]
impl Encodable for StrStyle
impl Decodable for StrStyle
[src]
impl Decodable for StrStyle
impl Debug for StrStyle
[src]
impl Debug for StrStyle
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for StrStyle
[src]
impl Copy for StrStyle
impl Hash for StrStyle
[src]
impl Hash for StrStyle
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for StrStyle
[src]
impl PartialEq for StrStyle