[][src]Struct kul::parser::RcDatumAllocator

pub struct RcDatumAllocator<TT, ET>(_);

A DatumAllocator for generic Datum types which allocates Datum values in heap-allocated Rcs.

Trait Implementations

impl<TT, ET> Default for RcDatumAllocator<TT, ET> where
    TT: Text
[src]

Must implement this manually because deriving would place unwanted bounds on the type parameters.

fn default() -> Self[src]

This type only has one, default, value.

impl<TT: Debug, ET: Debug> Debug for RcDatumAllocator<TT, ET>[src]

impl<TT, ET> DatumAllocator for RcDatumAllocator<TT, ET> where
    TT: Text
[src]

type TT = TT

The Text type for our Datum type. It should also implement TextConcat<Self> so it supports concatenation which the parsing requires. Read more

type ET = ET

The "extra" type for our Datum type.

type DR = DatumRc<Self::TT, Self::ET>

The type of references to Datums yielded by our parsing. Read more

Auto Trait Implementations

impl<TT, ET> !Send for RcDatumAllocator<TT, ET>

impl<TT, ET> !Sync for RcDatumAllocator<TT, ET>

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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