Struct signalo_filters::sink::Last[][src]

pub struct Last<T> { /* fields omitted */ }

A sink that memorizes the most recently received value of a signal.

Methods

impl<T> Last<T>
[src]

Creates a new Last sink.

Trait Implementations

impl<T: Default> Default for Last<T>
[src]

Returns the "default value" for a type. Read more

impl<T: Clone> Clone for Last<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for Last<T>
[src]

Formats the value using the given formatter. Read more

impl<T> Sink<T> for Last<T>
[src]

The sink's output type.

Processes the input value.

Consumes self, returning an accumulated output.

Auto Trait Implementations

impl<T> Send for Last<T> where
    T: Send

impl<T> Sync for Last<T> where
    T: Sync