Struct signalo_filters::source::FromIter [−][src]
pub struct FromIter<I> { /* fields omitted */ }
A wrapper type for turning iterators into sources.
Example:
use signalo_filters::source::FromIter; let iter = FromIter::from(vec![0, 1, 2, 3]); // ╭───╮ ╭───╮ ╭───╮ ╭───╮ // │ 0 │─▶│ 1 │─▶│ 2 │─▶│ 3 │ // ╰───╯ ╰───╯ ╰───╯ ╰───╯
Trait Implementations
impl<I: Default> Default for FromIter<I>
[src]
impl<I: Default> Default for FromIter<I>
impl<I: Clone> Clone for FromIter<I>
[src]
impl<I: Clone> Clone for FromIter<I>
fn clone(&self) -> FromIter<I>
[src]
fn clone(&self) -> FromIter<I>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<I: Debug> Debug for FromIter<I>
[src]
impl<I: Debug> Debug for FromIter<I>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<I, J, T> From<J> for FromIter<I> where
I: Iterator<Item = T>,
J: IntoIterator<IntoIter = I, Item = T>,
[src]
impl<I, J, T> From<J> for FromIter<I> where
I: Iterator<Item = T>,
J: IntoIterator<IntoIter = I, Item = T>,
impl<I> Source for FromIter<I> where
I: Iterator,
[src]
impl<I> Source for FromIter<I> where
I: Iterator,