[][src]Struct runestick::module::TypeBuilder

#[must_use = "must be consumed with build::() to construct a type"]pub struct TypeBuilder<'a, N> { /* fields omitted */ }

The builder for a type.

Implementations

impl<N, '_> TypeBuilder<'_, N> where
    N: IntoIterator,
    N::Item: Into<Component>, 
[src]

pub fn build<T>(self) -> Result<(), ContextError> where
    T: ValueType
[src]

Construct a new type, specifying which type it is with the parameter.

Auto Trait Implementations

impl<'a, N> RefUnwindSafe for TypeBuilder<'a, N> where
    N: RefUnwindSafe

impl<'a, N> Send for TypeBuilder<'a, N> where
    N: Send

impl<'a, N> Sync for TypeBuilder<'a, N> where
    N: Sync

impl<'a, N> Unpin for TypeBuilder<'a, N> where
    N: Unpin

impl<'a, N> !UnwindSafe for TypeBuilder<'a, N>

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,