[][src]Enum genco::LangBox

pub enum LangBox<'el, L> where
    L: Lang
{ Rc(Rc<dyn LangItem<L>>), Ref(&'el dyn LangItem<L>), }

A box containing a lang item.

Variants

Rc(Rc<dyn LangItem<L>>)

A reference-counted dynamic language item.

Ref(&'el dyn LangItem<L>)

A reference to a dynamic language item.

Trait Implementations

impl<'el, L> Clone for LangBox<'el, L> where
    L: Lang
[src]

impl<'el, L> Debug for LangBox<'el, L> where
    L: Lang
[src]

impl<'el> From<&'el Array> for LangBox<'el, Csharp>[src]

impl<'el> From<&'el Array> for LangBox<'el, Go>[src]

impl<'el> From<&'el Array> for LangBox<'el, Swift>[src]

impl<'el> From<&'el BuiltIn> for LangBox<'el, Dart>[src]

impl<'el> From<&'el Dynamic> for LangBox<'el, Dart>[src]

impl<'el> From<&'el Interface> for LangBox<'el, Go>[src]

impl<'el> From<&'el Local> for LangBox<'el, Dart>[src]

impl<'el> From<&'el Local> for LangBox<'el, Java>[src]

impl<'el> From<&'el Map> for LangBox<'el, Go>[src]

impl<'el> From<&'el Map> for LangBox<'el, Swift>[src]

impl<'el> From<&'el Optional> for LangBox<'el, Csharp>[src]

impl<'el> From<&'el Optional> for LangBox<'el, Java>[src]

impl<'el> From<&'el Primitive> for LangBox<'el, Java>[src]

impl<'el> From<&'el Simple> for LangBox<'el, Csharp>[src]

impl<'el> From<&'el Type> for LangBox<'el, Csharp>[src]

impl<'el> From<&'el Type> for LangBox<'el, Dart>[src]

impl<'el> From<&'el Type> for LangBox<'el, Go>[src]

impl<'el> From<&'el Type> for LangBox<'el, Java>[src]

impl<'el> From<&'el Type> for LangBox<'el, JavaScript>[src]

impl<'el> From<&'el Type> for LangBox<'el, Python>[src]

impl<'el> From<&'el Type> for LangBox<'el, Rust>[src]

impl<'el> From<&'el Type> for LangBox<'el, Swift>[src]

impl<'el> From<&'el Void> for LangBox<'el, Csharp>[src]

impl<'el> From<&'el Void> for LangBox<'el, Dart>[src]

impl<'el> From<&'el Void> for LangBox<'el, Java>[src]

impl<'el> From<Array> for LangBox<'el, Csharp>[src]

impl<'el> From<Array> for LangBox<'el, Go>[src]

impl<'el> From<Array> for LangBox<'el, Swift>[src]

impl<'el> From<BuiltIn> for LangBox<'el, Dart>[src]

impl<'el> From<Dynamic> for LangBox<'el, Dart>[src]

impl<'el> From<Interface> for LangBox<'el, Go>[src]

impl<'el> From<Local> for LangBox<'el, Dart>[src]

impl<'el> From<Local> for LangBox<'el, Java>[src]

impl<'el> From<Map> for LangBox<'el, Go>[src]

impl<'el> From<Map> for LangBox<'el, Swift>[src]

impl<'el> From<Optional> for LangBox<'el, Csharp>[src]

impl<'el> From<Optional> for LangBox<'el, Java>[src]

impl<'el> From<Primitive> for LangBox<'el, Java>[src]

impl<'el> From<Simple> for LangBox<'el, Csharp>[src]

impl<'el> From<Type> for LangBox<'el, Csharp>[src]

impl<'el> From<Type> for LangBox<'el, Dart>[src]

impl<'el> From<Type> for LangBox<'el, Go>[src]

impl<'el> From<Type> for LangBox<'el, Java>[src]

impl<'el> From<Type> for LangBox<'el, JavaScript>[src]

impl<'el> From<Type> for LangBox<'el, Python>[src]

impl<'el> From<Type> for LangBox<'el, Rust>[src]

impl<'el> From<Type> for LangBox<'el, Swift>[src]

impl<'el> From<Void> for LangBox<'el, Csharp>[src]

impl<'el> From<Void> for LangBox<'el, Dart>[src]

impl<'el> From<Void> for LangBox<'el, Java>[src]

impl<'el, L> LangItem<L> for LangBox<'el, L> where
    L: Lang
[src]

Auto Trait Implementations

impl<'el, L> !RefUnwindSafe for LangBox<'el, L>

impl<'el, L> !Send for LangBox<'el, L>

impl<'el, L> !Sync for LangBox<'el, L>

impl<'el, L> Unpin for LangBox<'el, L>

impl<'el, L> !UnwindSafe for LangBox<'el, L>

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