Struct nom_config::Configured [] [src]

pub struct Configured<T, Input> where
    Input: InputLength
{ /* fields omitted */ }

Configuration container

Methods

impl<T, Input> Configured<T, Input> where
    Input: InputLength
[src]

Creates a new configuration container

Returns a reference to the configuration

Returns a reference to the input

Trait Implementations

impl<T, Input> Into<(T, Input)> for Configured<T, Input> where
    Input: InputLength
[src]

Performs the conversion.

impl<T, Input> InputLength for Configured<T, Input> where
    Input: InputLength
[src]

calculates the input length, as indicated by its name, and the name of the trait itself Read more

impl<T, Input> InputIter for Configured<T, Input> where
    Input: InputLength + InputIter
[src]

returns an iterator over the elements and their byte offsets

returns an iterator over the elements

finds the byte position of the element

get the byte offset from the element's position in the stream

impl<T, Input> Slice<RangeFrom<usize>> for Configured<T, Input> where
    Input: InputLength + Slice<RangeFrom<usize>>,
    T: Clone
[src]

impl<T, Input> Slice<RangeTo<usize>> for Configured<T, Input> where
    Input: InputLength + Slice<RangeTo<usize>>,
    T: Clone
[src]

impl<T, Input> Slice<Range<usize>> for Configured<T, Input> where
    Input: InputLength + Slice<Range<usize>>,
    T: Clone
[src]

impl<T, Input> Deref for Configured<T, Input> where
    Input: InputLength
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T, Input> Clone for Configured<T, Input> where
    Input: InputLength + Clone,
    T: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T, Input> AsBytes for Configured<T, Input> where
    Input: InputLength + AsBytes
[src]

impl<T, Input> PartialEq<Configured<T, Input>> for Configured<T, Input> where
    Input: InputLength + PartialEq
[src]

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

This method tests for !=.

impl<T, Input> Copy for Configured<T, Input> where
    Input: InputLength + Copy,
    T: Copy
[src]

impl<T, Input> Debug for Configured<T, Input> where
    Input: InputLength + Debug,
    T: Debug
[src]

Formats the value using the given formatter.