#[must_use = "Signals do nothing unless polled"]
pub struct Switch<A, B, C> where
A: Signal,
C: FnMut(A::Item) -> B, { /* fields omitted */ }
Formats the value using the given formatter. Read more
impl<'pin, A, B, C> Unpin for Switch<A, B, C> where
A: Signal,
C: FnMut(A::Item) -> B,
__Switch<'pin, A, B, C>: Unpin,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.