[−][src]Struct nom::types::Input
Fields
inner: T
at_eof: bool
Trait Implementations
impl<T: InputLength> InputLength for Input<T>
[src]
impl<T: Offset> Offset for Input<T>
[src]
impl<T: AsBytes> AsBytes for Input<T>
[src]
impl<T: InputIter> InputIter for Input<T>
[src]
type Item = <T as InputIter>::Item
type RawItem = <T as InputIter>::RawItem
type Iter = <T as InputIter>::Iter
type IterElem = <T as InputIter>::IterElem
fn iter_indices(&self) -> Self::Iter
[src]
fn iter_elements(&self) -> Self::IterElem
[src]
fn position<P>(&self, predicate: P) -> Option<usize> where
P: Fn(Self::RawItem) -> bool,
[src]
P: Fn(Self::RawItem) -> bool,
fn slice_index(&self, count: usize) -> Option<usize>
[src]
impl<T: InputTake> InputTake for Input<T>
[src]
impl<'b, T: Compare<&'b str>> Compare<&'b str> for Input<T>
[src]
fn compare(&self, t: &'b str) -> CompareResult
[src]
fn compare_no_case(&self, t: &'b str) -> CompareResult
[src]
impl<T: FindToken<char>> FindToken<char> for Input<T>
[src]
fn find_token(&self, token: char) -> bool
[src]
impl<T: FindToken<u8>> FindToken<u8> for Input<T>
[src]
fn find_token(&self, token: u8) -> bool
[src]
impl<'a, T: FindToken<&'a u8>> FindToken<&'a u8> for Input<T>
[src]
fn find_token(&self, token: &'a u8) -> bool
[src]
impl<'b, T: FindSubstring<&'b str>> FindSubstring<&'b str> for Input<T>
[src]
fn find_substring(&self, substr: &'b str) -> Option<usize>
[src]
impl<'a, R: FromStr, T: ParseTo<R>> ParseTo<R> for Input<T>
[src]
impl<T: Slice<Range<usize>>> Slice<Range<usize>> for Input<T>
[src]
impl<T: Slice<RangeTo<usize>>> Slice<RangeTo<usize>> for Input<T>
[src]
impl<T: Slice<RangeFrom<usize>>> Slice<RangeFrom<usize>> for Input<T>
[src]
impl<T: Slice<RangeFull>> Slice<RangeFull> for Input<T>
[src]
impl<T> AtEof for Input<T>
[src]
impl<T: PartialEq> PartialEq<Input<T>> for Input<T>
[src]
impl<T: Clone> Clone for Input<T>
[src]
fn clone(&self) -> Input<T>
[src]
fn clone_from(&mut self, source: &Self)
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]
impl<T: Hash> Hash for Input<T>
[src]
Auto Trait Implementations
impl<T> Unpin for Input<T> where
T: Unpin,
T: Unpin,
impl<T> Send for Input<T> where
T: Send,
T: Send,
impl<T> Sync for Input<T> where
T: Sync,
T: Sync,
impl<T> UnwindSafe for Input<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for Input<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Ifn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut I
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,