[][src]Struct genco::prelude::swift::TypeBox

pub struct TypeBox { /* fields omitted */ }

Boxed type container

Implementations

impl TypeBox[src]

pub fn new<T>(inner: T) -> Self where
    T: 'static + TypeTrait
[src]

Construct a new type in a type box.

Trait Implementations

impl Clone for TypeBox[src]

impl Debug for TypeBox[src]

impl Deref for TypeBox[src]

type Target = dyn TypeTrait

The resulting type after dereferencing.

impl Eq for TypeBox[src]

impl From<Array> for TypeBox[src]

impl From<Map> for TypeBox[src]

impl From<Type> for TypeBox[src]

impl Hash for TypeBox[src]

impl Ord for TypeBox[src]

impl PartialEq<TypeBox> for TypeBox[src]

impl PartialOrd<TypeBox> for TypeBox[src]

Auto Trait Implementations

impl !RefUnwindSafe for TypeBox

impl !Send for TypeBox

impl !Sync for TypeBox

impl Unpin for TypeBox

impl !UnwindSafe for TypeBox

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.