[][src]Enum glsp::Expander

pub enum Expander {
    GFn(Root<GFn>),
    RFn(RFn),
}

A type-erased expander.

Used as a parameter or return value by glsp::bind_macro, glsp::expand_1, and similar functions.

Variants

GFn(Root<GFn>)
RFn(RFn)

Trait Implementations

impl Clone for Expander[src]

impl Debug for Expander[src]

impl FromVal for Expander[src]

impl ToVal for Expander[src]

Auto Trait Implementations

impl !GSend for Expander

impl !GStore for Expander

impl !RefUnwindSafe for Expander

impl !Send for Expander

impl !Sync for Expander

impl Unpin for Expander

impl !UnwindSafe for Expander

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> Erased for T

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

impl<T> FromElement<Slot> for T where
    T: FromVal
[src]

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

impl<T> IntoElement<Slot> for T where
    T: ToVal
[src]

impl<T> IntoResult for T where
    T: ToVal
[src]

impl<'a, T> MakeArg<'a> for T where
    T: FromVal + MakeTemp<Temp = Slot>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.