[][src]Trait makepad_internal_iter::FromInternalIterator

pub trait FromInternalIterator<T> {
    fn from_internal_iter<I>(internal_iter: I) -> Self
    where
        I: IntoInternalIterator<Item = T>
; }

A trait for conversion from an internal iterator.

This trait is commonly implemented for collections. It is useful when you have an internal iterator but you need a collection.

Required methods

fn from_internal_iter<I>(internal_iter: I) -> Self where
    I: IntoInternalIterator<Item = T>, 

Creates Self from an internal iterator.

Note that from_internal_iter is almost never used directly. Instead, it is used by calling the collect method on InternalIterator.

Loading content...

Implementations on Foreign Types

impl<T> FromInternalIterator<T> for Vec<T>[src]

Loading content...

Implementors

Loading content...