[][src]Struct gluon_vm::api::Collect

pub struct Collect<T>(_);

Methods

impl<T> Collect<T>[src]

pub fn new(iterable: T) -> Self where
    T: IntoIterator
[src]

Trait Implementations

impl<'vm, 'value, T> Getable<'vm, 'value> for Collect<GetableIter<'vm, 'value, T>> where
    T: Getable<'vm, 'value>, 
[src]

type Proxy = Variants<'value>

impl<T> Iterator for Collect<T> where
    T: Iterator
[src]

type Item = T::Item

The type of the elements being iterated over.

impl<'vm, T> Pushable<'vm> for Collect<T> where
    T: IntoIterator,
    T::Item: Pushable<'vm>, 
[src]

impl<T> VmType for Collect<T> where
    T: IntoIterator,
    T::Item: VmType,
    <T::Item as VmType>::Type: Sized
[src]

type Type = Vec<<T::Item as VmType>::Type>

A version of Self which implements Any allowing a TypeId to be retrieved

Auto Trait Implementations

impl<T> RefUnwindSafe for Collect<T> where
    T: RefUnwindSafe

impl<T> Send for Collect<T> where
    T: Send

impl<T> Sync for Collect<T> where
    T: Sync

impl<T> Unpin for Collect<T> where
    T: Unpin

impl<T> UnwindSafe for Collect<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<'vm, T> AsyncPushable<'vm> for T where
    T: Pushable<'vm>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'_, T> Captures<'_> for T[src]

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastArc for T where
    T: Downcast + Send + Sync
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<N, E, I> ElementIterator<N, E> for I where
    I: Iterator<Item = Element<N, E>> + ?Sized
[src]

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

impl<D, T> FromPtr<D> for T[src]

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 
[src]

impl<'vm, T> Pushable<'vm> for T where
    T: Userdata
[src]

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

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.