Struct signalo_pipes::prelude::SinkUnitPipe [−][src]
pub struct SinkUnitPipe<T> { /* fields omitted */ }
A UnitPipe
is a simple container wrapping a Source
╠════════════
║ ╭────────╮
║ │ Source │
║ ╰────────╯
╠════════════
└─┬────────┘
└ UnitPipe
Methods
impl<T> UnitPipe<T>
[src]
impl<T> UnitPipe<T>
Trait Implementations
impl<T: Default> Default for UnitPipe<T>
[src]
impl<T: Default> Default for UnitPipe<T>
impl<T: Clone> Clone for UnitPipe<T>
[src]
impl<T: Clone> Clone for UnitPipe<T>
fn clone(&self) -> UnitPipe<T>
[src]
fn clone(&self) -> UnitPipe<T>
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> Debug for UnitPipe<T>
[src]
impl<T: Debug> Debug for UnitPipe<T>
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, Rhs> BitOr<Rhs> for UnitPipe<T>
[src]
impl<T, Rhs> BitOr<Rhs> for UnitPipe<T>
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, I> Sink<I> for UnitPipe<T> where
T: Sink<I>,
[src]
impl<T, I> Sink<I> for UnitPipe<T> where
T: Sink<I>,
type Output = T::Output
The sink's output type.
fn sink(&mut self, input: I)
[src]
fn sink(&mut self, input: I)
Processes the input value.
fn finalize(self) -> Self::Output
[src]
fn finalize(self) -> Self::Output
Consumes self
, returning an accumulated output.
impl<T, I> Filter<I> for UnitPipe<T> where
T: Sink<I>,
[src]
impl<T, I> Filter<I> for UnitPipe<T> where
T: Sink<I>,