[][src]Enum glsp::Expander

pub enum Expander {
    GFn(Root<GFn>),
    RFn(Root<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(Root<RFn>)

Trait Implementations

impl Clone for Expander[src]

impl Debug for Expander[src]

impl FromVal for Expander[src]

impl<'a> IntoVal for &'a mut Expander[src]

impl<'a> IntoVal for &'a Expander[src]

impl IntoVal for Expander[src]

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> 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: IntoVal
[src]

impl<T> IntoVal for T where
    T: StaticMarker, 
[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.