Struct despatma_lib::TraitSpecifier[][src]

pub struct TraitSpecifier {
    pub abstract_trait: Type,
    pub arrow_token: FatArrow,
    pub concrete: Type,
}

Type that holds an abstract type and how it will map to a concrete type.

An acceptable stream will have the following form:

trait => concrete

Fields

abstract_trait: Typearrow_token: FatArrowconcrete: Type

Trait Implementations

impl Interpolate for TraitSpecifier[src]

Make TraitSpecifier interpolatible

impl Parse for TraitSpecifier[src]

Make TraitSpecifier parsable from a token stream

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, 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.