Struct ucglib::tokenizer::TokenIter [] [src]

pub struct TokenIter<'a> {
    pub source: &'a [Token],
}

TokenIter wraps a slice of Tokens and implements the various necessary nom traits to use it as an input to nom parsers.

Fields

Methods

impl<'a> TokenIter<'a>
[src]

[src]

Trait Implementations

impl<'a> Clone for TokenIter<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for TokenIter<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for TokenIter<'a>
[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<'a> InputLength for TokenIter<'a>
[src]

[src]

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

impl<'a> Slice<Range<usize>> for TokenIter<'a>
[src]

[src]

impl<'a> Slice<RangeTo<usize>> for TokenIter<'a>
[src]

[src]

impl<'a> Slice<RangeFrom<usize>> for TokenIter<'a>
[src]

[src]

impl<'a> Slice<RangeFull> for TokenIter<'a>
[src]

[src]

impl<'a> Index<usize> for TokenIter<'a>
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<'a> InputIter for TokenIter<'a>
[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

Auto Trait Implementations

impl<'a> Send for TokenIter<'a>

impl<'a> Sync for TokenIter<'a>