Struct frappe::SignalNested [] [src]

pub struct SignalNested<T>(_);

A signal that contains a signal, and allows sampling the inner signal directly.

This is produced by Signal::switch

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Clone + 'static> Signal<T> for SignalNested<T>
[src]

Sample by value. Read more

Sample by reference. Read more

Maps a signal with the provided function.

Samples the value of this signal every time the trigger stream fires.

Creates a new signal that samples the inner value of a nested signal.

impl<T> Debug for SignalNested<T>
[src]

Formats the value using the given formatter.