Trait SignalVecFinalizerExt

Source
pub trait SignalVecFinalizerExt: Sized + SignalVec {
    // Provided methods
    fn first(self) -> impl Signal<Item = Option<Self::Item>>
       where Self::Item: Copy { ... }
    fn first_cloned(self) -> impl Signal<Item = Option<Self::Item>>
       where Self::Item: Clone { ... }
    fn first_map<F, U>(self, f: F) -> impl Signal<Item = Option<U>>
       where F: FnMut(&Self::Item) -> U { ... }
    fn all<F>(self, f: F) -> impl Signal<Item = bool>
       where F: FnMut(&Self::Item) -> bool { ... }
    fn any<F>(self, f: F) -> impl Signal<Item = bool>
       where F: FnMut(&Self::Item) -> bool { ... }
    fn seq(self) -> Sequence<Self> { ... }
}

Provided Methods§

Source

fn first(self) -> impl Signal<Item = Option<Self::Item>>
where Self::Item: Copy,

Source

fn first_cloned(self) -> impl Signal<Item = Option<Self::Item>>
where Self::Item: Clone,

Source

fn first_map<F, U>(self, f: F) -> impl Signal<Item = Option<U>>
where F: FnMut(&Self::Item) -> U,

Source

fn all<F>(self, f: F) -> impl Signal<Item = bool>
where F: FnMut(&Self::Item) -> bool,

Source

fn any<F>(self, f: F) -> impl Signal<Item = bool>
where F: FnMut(&Self::Item) -> bool,

Source

fn seq(self) -> Sequence<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§