InputData

Trait InputData 

Source
pub trait InputData:
    Index<Range<usize>, Output = Self>
    + Index<RangeFrom<usize>, Output = Self>
    + ToOwned
    + Debug
    + 'static { }
Expand description

Trait for input that can be accepted by InputStream to be able to provide lexer with data. Public for implementation reasons.

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 InputData for str

Source§

impl<T: Into<u32> + From<u8> + TryFrom<u32> + Copy + Debug + 'static> InputData for [T]
where <T as TryFrom<u32>>::Error: Debug,

Implementors§