[][src]Struct moore_vhdl_syntax::lexer::bundler::Bundler

pub struct Bundler<T: Grinder> { /* fields omitted */ }

A grinder that bundles up categorized characters into groups and converts spaces and comments into single tokens, dropping any information about their content. String and bit string literals are formed here as well.

Implementations

impl<T: Grinder> Bundler<T>[src]

pub fn new<I>(inner: I, src: Source) -> Bundler<T> where
    I: Into<Lookahead<T>>, 
[src]

Create a new bundler.

Trait Implementations

impl<T> Grinder for Bundler<T> where
    T: Grinder<Item = Option<(usize, char, u8, Category)>, Error = DiagBuilder2>, 
[src]

type Item = Option<Spanned<Bundle>>

type Error = DiagBuilder2

Auto Trait Implementations

impl<T> RefUnwindSafe for Bundler<T> where
    T: RefUnwindSafe,
    <T as Grinder>::Item: RefUnwindSafe
[src]

impl<T> Send for Bundler<T> where
    T: Send,
    <T as Grinder>::Item: Send
[src]

impl<T> Sync for Bundler<T> where
    T: Sync,
    <T as Grinder>::Item: Sync
[src]

impl<T> Unpin for Bundler<T> where
    T: Unpin,
    <T as Grinder>::Item: Unpin
[src]

impl<T> UnwindSafe for Bundler<T> where
    T: UnwindSafe,
    <T as Grinder>::Item: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.