[][src]Struct antlr_rust::token_factory::OwningTokenFactory

pub struct OwningTokenFactory;

Trait Implementations

impl Default for OwningTokenFactory[src]

impl<'a> TidAble<'a> for OwningTokenFactory[src]

impl<'a> TokenFactory<'a> for OwningTokenFactory[src]

type Inner = OwningToken

type of tokens emitted by this factory

type Tok = Box<Self::Inner>

ownership of the emitted tokens

type Data = str

type of the underlying storage

type From = String

type of the reference to Self::Data that factory needs for producing tokens

Auto Trait Implementations

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> NodeText for T[src]

impl<'input, T> NodeText for T where
    T: CustomRuleContext<'input>, 
[src]

impl<'a, T> Tid<'a> for T where
    T: TidAble<'a> + ?Sized
[src]

impl<'a, X> TidExt<'a> for X where
    X: Tid<'a> + ?Sized
[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.