Enum quoted_string::spec::State [−][src]
State used when parsing a quoted string
Variants
StartThe initial state
NormalThe normal state
FailedFailed as it e.g. hit an invalid char
QPStartstart of a quoted-pair e.g. the \ of "
Custom(T)a custom state needed for more complex quoted strings
Endthe end of the quoted string was found (this is not necessary the end of the input)
Trait Implementations
impl<T: Copy + Copy + Eq + Debug> Copy for State<T>[src]
impl<T: Copy + Copy + Eq + Debug> Copy for State<T>impl<T: Clone + Copy + Eq + Debug> Clone for State<T>[src]
impl<T: Clone + Copy + Eq + Debug> Clone for State<T>fn clone(&self) -> State<T>[src]
fn clone(&self) -> State<T>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<T: Eq + Copy + Eq + Debug> Eq for State<T>[src]
impl<T: Eq + Copy + Eq + Debug> Eq for State<T>impl<T: PartialEq + Copy + Eq + Debug> PartialEq for State<T>[src]
impl<T: PartialEq + Copy + Eq + Debug> PartialEq for State<T>fn eq(&self, other: &State<T>) -> bool[src]
fn eq(&self, other: &State<T>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &State<T>) -> bool[src]
fn ne(&self, other: &State<T>) -> boolThis method tests for !=.
impl<T: Debug + Copy + Eq + Debug> Debug for State<T>[src]
impl<T: Debug + Copy + Eq + Debug> Debug for State<T>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T: Hash + Copy + Eq + Debug> Hash for State<T>[src]
impl<T: Hash + Copy + Eq + Debug> Hash for State<T>