Struct signalo_pipes::source::Pipe [−][src]
pub struct Pipe<T, U> { /* fields omitted */ }
A Pipe
is a simple container joining a pair of a Source
and a Filter
╠════════════ + ════════════
║ ╭────────╮ + ╭────────╮
║ │ Source │ + │ Filter │
║ ╰────────╯ + ╰────────╯
╠════════════ + ════════════
└─┬───────────────────────┘
└ Pipe
Methods
impl<T, U> Pipe<T, U>
[src]
impl<T, U> Pipe<T, U>
Trait Implementations
impl<T: Default, U: Default> Default for Pipe<T, U>
[src]
impl<T: Default, U: Default> Default for Pipe<T, U>
impl<T: Clone, U: Clone> Clone for Pipe<T, U>
[src]
impl<T: Clone, U: Clone> Clone for Pipe<T, U>
fn clone(&self) -> Pipe<T, U>
[src]
fn clone(&self) -> Pipe<T, U>
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<T: Debug, U: Debug> Debug for Pipe<T, U>
[src]
impl<T: Debug, U: Debug> Debug for Pipe<T, U>
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<T, U> From<(T, U)> for Pipe<T, U>
[src]
impl<T, U> From<(T, U)> for Pipe<T, U>
impl<T, U, Rhs> BitOr<Rhs> for Pipe<T, U>
[src]
impl<T, U, Rhs> BitOr<Rhs> for Pipe<T, U>
type Output = Pipe<Self, Rhs>
The resulting type after applying the |
operator.
fn bitor(self, rhs: Rhs) -> Self::Output
[src]
fn bitor(self, rhs: Rhs) -> Self::Output
Performs the |
operation.
impl<T, U> Source for Pipe<T, U> where
T: Source,
U: Filter<T::Output>,
[src]
impl<T, U> Source for Pipe<T, U> where
T: Source,
U: Filter<T::Output>,
type Output = U::Output
The source's output type.
fn source(&mut self) -> Option<Self::Output>
[src]
fn source(&mut self) -> Option<Self::Output>
Produces the next value in the stream of values.
impl<T, U> Filter<()> for Pipe<T, U> where
T: Source,
U: Filter<T::Output>,
[src]
impl<T, U> Filter<()> for Pipe<T, U> where
T: Source,
U: Filter<T::Output>,