Enum slr_config::StringKind [] [src]

pub enum StringKind<'l> {
    EscapedString(&'l str),
    RawString(&'l str),
}

Variants

EscapedString(&'l str)RawString(&'l str)

Trait Implementations

impl<'l> PartialEq for StringKind<'l>
[src]

fn eq(&self, __arg_0: &StringKind<'l>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &StringKind<'l>) -> bool

This method tests for !=.

impl<'l> Debug for StringKind<'l>
[src]

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

Formats the value using the given formatter.

impl<'l> Copy for StringKind<'l>
[src]

impl<'l> Clone for StringKind<'l>
[src]

fn clone(&self) -> StringKind<'l>

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more