[][src]Trait sophia::quad::stream::AsQuadSource

pub trait AsQuadSource<T> {
    fn as_quad_source(self) -> Map<Self, fn(T) -> Result<T, Infallible>>;
}

A utility extension trait for converting any iterator of Quads into QuadSource, by wrapping its items in Ok results.

Required methods

fn as_quad_source(self) -> Map<Self, fn(T) -> Result<T, Infallible>>

Map all items of this iterator into an Ok result.

Loading content...

Implementors

impl<T, I> AsQuadSource<T> for I where
    I: Iterator<Item = T>,
    T: Quad
[src]

Loading content...