Struct nom::types::Input [] [src]

pub struct Input<T> {
    pub inner: T,
    pub at_eof: bool,
}

Fields

Trait Implementations

impl<T: Clone> Clone for Input<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for Input<T>
[src]

impl<T: Debug> Debug for Input<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq> PartialEq for Input<T>
[src]

[src]

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

[src]

This method tests for !=.

impl<T: Hash> Hash for Input<T>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<T> AtEof for Input<T>
[src]

[src]

impl<T: Slice<Range<usize>>> Slice<Range<usize>> for Input<T>
[src]

[src]

impl<T: Slice<RangeTo<usize>>> Slice<RangeTo<usize>> for Input<T>
[src]

[src]

impl<T: Slice<RangeFrom<usize>>> Slice<RangeFrom<usize>> for Input<T>
[src]

[src]

impl<T: Slice<RangeFull>> Slice<RangeFull> for Input<T>
[src]

[src]

impl<T: InputIter> InputIter for Input<T>
[src]

[src]

returns an iterator over the elements and their byte offsets

[src]

returns an iterator over the elements

[src]

finds the byte position of the element

[src]

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

impl<T: InputTake> InputTake for Input<T>
[src]

[src]

returns a slice of count bytes. panics if count > length

[src]

split the stream at the count byte offset. panics if count > length

impl<T: InputLength> InputLength for Input<T>
[src]

[src]

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

impl<'b, T: Compare<&'b str>> Compare<&'b str> for Input<T>
[src]

[src]

compares self to another value for equality

[src]

compares self to another value for equality independently of the case. Read more

impl<'b, T: FindSubstring<&'b str>> FindSubstring<&'b str> for Input<T>
[src]

[src]

impl<T: FindToken<char>> FindToken<char> for Input<T>
[src]

[src]

impl<T: FindToken<u8>> FindToken<u8> for Input<T>
[src]

[src]

impl<'a, T: FindToken<&'a u8>> FindToken<&'a u8> for Input<T>
[src]

[src]

impl<'a, R: FromStr, T: ParseTo<R>> ParseTo<R> for Input<T>
[src]

[src]

impl<T: Offset> Offset for Input<T>
[src]

[src]

offset between the first byte of self and the first byte of the argument

impl<T: AsBytes> AsBytes for Input<T>
[src]

[src]

Auto Trait Implementations

impl<T> Send for Input<T> where
    T: Send

impl<T> Sync for Input<T> where
    T: Sync