Trait rune::alloc::prelude::TryFromIterator
source · pub trait TryFromIterator<T>: TryFromIteratorIn<T, Global> {
// Required method
fn try_from_iter<I>(iter: I) -> Result<Self, Error>
where I: IntoIterator<Item = T>;
}
Expand description
Required Methods§
sourcefn try_from_iter<I>(iter: I) -> Result<Self, Error>where
I: IntoIterator<Item = T>,
fn try_from_iter<I>(iter: I) -> Result<Self, Error>where
I: IntoIterator<Item = T>,
Creates a value from an iterator within an allocator.
Object Safety§
This trait is not object safe.