pub struct Categorizer<T> { /* private fields */ }
Expand description
A grinder that categorizes characters into different groups as per the VHDL language standard.
Implementations§
Source§impl<T> Categorizer<T>
impl<T> Categorizer<T>
Sourcepub fn new(inner: T) -> Categorizer<T>
pub fn new(inner: T) -> Categorizer<T>
Create a new categorizer.
Trait Implementations§
Source§impl<T> Grinder for Categorizer<T>
impl<T> Grinder for Categorizer<T>
type Item = Option<(usize, char, u8, Category)>
type Error = DiagBuilder2
fn emit(&mut self, err: Self::Error)
fn next(&mut self) -> Self::Item
fn vent<F, E>(self, f: F) -> Vent<Self, F, E>
fn unwrap(self) -> Unwrap<Self>where
Self: Sized,
fn map_err<F, E>(self, f: F) -> MapErrGrinder<Self, F, E>
fn peekable(self) -> Peekable<Self>where
Self: Sized,
fn lookaheadable(self) -> Lookahead<Self>where
Self: Sized,
fn filter<F>(self, f: F) -> Filter<Self, F>
Auto Trait Implementations§
impl<T> Freeze for Categorizer<T>where
T: Freeze,
impl<T> RefUnwindSafe for Categorizer<T>where
T: RefUnwindSafe,
impl<T> Send for Categorizer<T>where
T: Send,
impl<T> Sync for Categorizer<T>where
T: Sync,
impl<T> Unpin for Categorizer<T>where
T: Unpin,
impl<T> UnwindSafe for Categorizer<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more