Enum parser_combinators::primitives::Info [] [src]

pub enum Info {
    Token(char),
    Owned(String),
    Borrowed(&'static str),
}

Variants

Token(char)Owned(String)Borrowed(&'static str)

Trait Implementations

impl Debug for Info
[src]

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

Formats the value using the given formatter.

impl Clone for Info
[src]

fn clone(&self) -> Info

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

impl PartialEq for Info
[src]

fn eq(&self, other: &Info) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Display for Info
[src]

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

Formats the value using the given formatter.

impl From<char> for Info
[src]

fn from(s: char) -> Info

Performs the conversion.

impl From<String> for Info
[src]

fn from(s: String) -> Info

Performs the conversion.

impl From<&'static str> for Info
[src]

fn from(s: &'static str) -> Info

Performs the conversion.