[][src]Trait swim_codec::input::Input

pub trait Input {
    type Token;
    fn head(&mut self) -> Step<Self::Token>;
fn step(&mut self);
fn over(&mut self); fn is_in(&mut self) -> bool { ... }
fn is_out(&mut self) -> bool { ... }
fn is_over(&mut self) -> bool { ... }
fn into_iter(self) -> InputIterator<Self>
    where
        Self: Sized
, { ... } }

Associated Types

type Token

Loading content...

Required methods

fn head(&mut self) -> Step<Self::Token>

fn step(&mut self)

fn over(&mut self)

Loading content...

Provided methods

fn is_in(&mut self) -> bool

fn is_out(&mut self) -> bool

fn is_over(&mut self) -> bool

Important traits for InputIterator<I>
fn into_iter(self) -> InputIterator<Self> where
    Self: Sized

Loading content...

Implementors

impl<'a, T: 'a + Clone> Input for SliceInput<'a, T>[src]

type Token = T

fn is_in(&mut self) -> bool[src]

fn is_out(&mut self) -> bool[src]

fn is_over(&mut self) -> bool[src]

Important traits for InputIterator<I>
fn into_iter(self) -> InputIterator<Self> where
    Self: Sized
[src]

impl<I: Input<Token = u8>> Input for Utf8Input<I>[src]

type Token = char

fn is_in(&mut self) -> bool[src]

fn is_out(&mut self) -> bool[src]

fn is_over(&mut self) -> bool[src]

Important traits for InputIterator<I>
fn into_iter(self) -> InputIterator<Self> where
    Self: Sized
[src]

Loading content...