Struct gluon_parser::StreamType
[−]
[src]
pub struct StreamType(_);
Trait Implementations
impl Clone for StreamType
[src]
fn clone(&self) -> StreamType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl StreamOnce for StreamType
[src]
type Item = Token<String>
The type of items which is yielded from this stream
type Range = Token<String>
The type of a range of items yielded from this stream. Types which do not a have a way of yielding ranges of items should just use the Self::Item for this type Read more
type Position = BytePos
Type which represents the position in a stream. Ord is required to allow parsers to determine which of two positions are further ahead. Read more
fn uncons(&mut self) -> Result<Token<String>, Error<String>>
Takes a stream and removes its first item, yielding the item and the rest of the elements Returns Err
if no element could be retrieved Read more
fn position(&self) -> Self::Position
Returns the current position of the stream