[−][src]Trait antlr_rust::char_stream::InputData
Trait for input that can be accepted by InputStream
to be able to provide lexer with data.
Is sealed for now just in case.
Required methods
fn offset(&self, index: isize, item_offset: isize) -> Option<isize>
fn item(&self, index: isize) -> Option<isize>
fn len(&self) -> usize
fn from_text(text: &str) -> Self::Owned
fn to_display(&self) -> String
Implementations on Foreign Types
impl<T: Into<u32> + From<u8> + TryFrom<u32> + Copy + Debug + 'static> InputData for [T] where
<T as TryFrom<u32>>::Error: Debug,
[src]
<T as TryFrom<u32>>::Error: Debug,