InputType

Trait InputType 

Source
pub trait InputType {
    type Token;
}

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a> InputType for &'a str

Source§

impl<'a, T: Clone> InputType for &'a [T]

Source§

type Token = T

Implementors§

Source§

impl<I: Iterator> InputType for Stream<I>
where I::Item: Clone,

Source§

type Token = <I as Iterator>::Item

Source§

impl<T, S: Spanned<T>, I: Iterator<Item = S>> InputType for SpannedStream<T, S, I>
where I::Item: Clone,

Source§

type Token = T