Trait fetsig::SignalVecFinalizerExt

source ·
pub trait SignalVecFinalizerExt: SignalVec {
    // Required methods
    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>
       where Self: Sized;

    // Provided methods
    fn first(self) -> impl Signal<Item = Option<Self::Item>>
       where Self::Item: Copy,
             Self: Sized { ... }
    fn first_cloned(self) -> impl Signal<Item = Option<Self::Item>>
       where Self::Item: Clone,
             Self: Sized { ... }
}

Required Methods§

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>
where Self: Sized,

Provided Methods§

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§