Enum combine::error::Info [−][src]
pub enum Info<T, R> { Token(T), Range(R), Borrowed(&'static str), }
Variants
Token(T)
Range(R)
Borrowed(&'static str)
Trait Implementations
impl<T: Clone, R: Clone> Clone for Info<T, R>
[src]
impl<T: Clone, R: Clone> Clone for Info<T, R>
fn clone(&self) -> Info<T, R>
[src]
fn clone(&self) -> Info<T, R>
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: Debug, R: Debug> Debug for Info<T, R>
[src]
impl<T: Debug, R: Debug> Debug for Info<T, R>
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<R> From<char> for Info<char, R>
[src]
impl<R> From<char> for Info<char, R>
impl<T, R> From<&'static str> for Info<T, R>
[src]
impl<T, R> From<&'static str> for Info<T, R>
impl<R> From<u8> for Info<u8, R>
[src]
impl<R> From<u8> for Info<u8, R>
impl<T, R> From<PrimitiveInfo<T, R>> for Info<T, R>
[src]
impl<T, R> From<PrimitiveInfo<T, R>> for Info<T, R>
fn from(info: PrimitiveInfo<T, R>) -> Self
[src]
fn from(info: PrimitiveInfo<T, R>) -> Self
Performs the conversion.