Struct silkenweb_signals_ext::Map7

source ·
pub struct Map7<S0, S1, S2, S3, S4, S5, S6, F>
where S0: Signal, S1: Signal, S2: Signal, S3: Signal, S4: Signal, S5: Signal, S6: Signal,
{ /* private fields */ }

Trait Implementations§

source§

impl<S0, S1, S2, S3, S4, S5, S6, Output, F> Signal for Map7<S0, S1, S2, S3, S4, S5, S6, F>
where S0: Signal, S1: Signal, S2: Signal, S3: Signal, S4: Signal, S5: Signal, S6: Signal, F: FnMut(&S0::Item, &S1::Item, &S2::Item, &S3::Item, &S4::Item, &S5::Item, &S6::Item) -> Output,

§

type Item = Output

source§

fn poll_change( self: Pin<&mut Self>, cx: &mut Context<'_> ) -> Poll<Option<Self::Item>>

source§

impl<'pin, S0, S1, S2, S3, S4, S5, S6, F> Unpin for Map7<S0, S1, S2, S3, S4, S5, S6, F>
where S0: Signal, S1: Signal, S2: Signal, S3: Signal, S4: Signal, S5: Signal, S6: Signal, __Map7<'pin, S0, S1, S2, S3, S4, S5, S6, F>: Unpin,

Auto Trait Implementations§

§

impl<S0, S1, S2, S3, S4, S5, S6, F> Freeze for Map7<S0, S1, S2, S3, S4, S5, S6, F>
where F: Freeze, S0: Freeze, <S0 as Signal>::Item: Freeze, S1: Freeze, <S1 as Signal>::Item: Freeze, S2: Freeze, <S2 as Signal>::Item: Freeze, S3: Freeze, <S3 as Signal>::Item: Freeze, S4: Freeze, <S4 as Signal>::Item: Freeze, S5: Freeze, <S5 as Signal>::Item: Freeze, S6: Freeze, <S6 as Signal>::Item: Freeze,

§

impl<S0, S1, S2, S3, S4, S5, S6, F> RefUnwindSafe for Map7<S0, S1, S2, S3, S4, S5, S6, F>

§

impl<S0, S1, S2, S3, S4, S5, S6, F> Send for Map7<S0, S1, S2, S3, S4, S5, S6, F>
where F: Send, S0: Send, <S0 as Signal>::Item: Send, S1: Send, <S1 as Signal>::Item: Send, S2: Send, <S2 as Signal>::Item: Send, S3: Send, <S3 as Signal>::Item: Send, S4: Send, <S4 as Signal>::Item: Send, S5: Send, <S5 as Signal>::Item: Send, S6: Send, <S6 as Signal>::Item: Send,

§

impl<S0, S1, S2, S3, S4, S5, S6, F> Sync for Map7<S0, S1, S2, S3, S4, S5, S6, F>
where F: Sync, S0: Sync, <S0 as Signal>::Item: Sync, S1: Sync, <S1 as Signal>::Item: Sync, S2: Sync, <S2 as Signal>::Item: Sync, S3: Sync, <S3 as Signal>::Item: Sync, S4: Sync, <S4 as Signal>::Item: Sync, S5: Sync, <S5 as Signal>::Item: Sync, S6: Sync, <S6 as Signal>::Item: Sync,

§

impl<S0, S1, S2, S3, S4, S5, S6, F> UnwindSafe for Map7<S0, S1, S2, S3, S4, S5, S6, F>
where F: UnwindSafe, S0: UnwindSafe, <S0 as Signal>::Item: UnwindSafe, S1: UnwindSafe, <S1 as Signal>::Item: UnwindSafe, S2: UnwindSafe, <S2 as Signal>::Item: UnwindSafe, S3: UnwindSafe, <S3 as Signal>::Item: UnwindSafe, S4: UnwindSafe, <S4 as Signal>::Item: UnwindSafe, S5: UnwindSafe, <S5 as Signal>::Item: UnwindSafe, S6: UnwindSafe, <S6 as Signal>::Item: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> SignalExt for T
where T: Signal + ?Sized,

source§

fn to_stream(self) -> SignalStream<Self>
where Self: Sized,

Creates a Stream which contains the values of self. Read more
source§

fn to_future(self) -> SignalFuture<Self>
where Self: Sized,

source§

fn map<A, B>(self, callback: B) -> Map<Self, B>
where B: FnMut(Self::Item) -> A, Self: Sized,

Creates a Signal which uses a closure to transform the value. Read more
source§

fn inspect<A>(self, callback: A) -> Inspect<Self, A>
where A: FnMut(&Self::Item), Self: Sized,

source§

fn eq(self, value: Self::Item) -> Eq<Self>
where Self::Item: PartialEq, Self: Sized,

source§

fn neq(self, value: Self::Item) -> Neq<Self>
where Self::Item: PartialEq, Self: Sized,

source§

fn dedupe_map<A, B>(self, callback: B) -> DedupeMap<Self, B>
where B: FnMut(&mut Self::Item) -> A, Self::Item: PartialEq, Self: Sized,

Creates a Signal which uses a closure to transform the value. Read more
source§

fn dedupe(self) -> Dedupe<Self>
where Self::Item: PartialEq, Self: Sized,

source§

fn dedupe_cloned(self) -> DedupeCloned<Self>
where Self::Item: PartialEq, Self: Sized,

source§

fn map_future<A, B>(self, callback: B) -> MapFuture<Self, A, B>
where A: Future, B: FnMut(Self::Item) -> A, Self: Sized,

Creates a Signal which uses a closure to asynchronously transform the value. Read more
source§

fn filter_map<A, B>(self, callback: B) -> FilterMap<Self, B>
where B: FnMut(Self::Item) -> Option<A>, Self: Sized,

Creates a Signal which uses a closure to filter and transform the value. Read more
source§

fn throttle<A, B>(self, callback: B) -> Throttle<Self, A, B>
where A: Future<Output = ()>, B: FnMut() -> A, Self: Sized,

Creates a Signal which delays updates until a Future finishes. Read more
source§

fn flatten(self) -> Flatten<Self>
where Self::Item: Signal, Self: Sized,

Creates a Signal which flattens self. Read more
source§

fn switch<A, B>(self, callback: B) -> Switch<Self, A, B>
where A: Signal, B: FnMut(Self::Item) -> A, Self: Sized,

source§

fn switch_signal_vec<A, F>(self, callback: F) -> SwitchSignalVec<Self, A, F>
where A: SignalVec, F: FnMut(Self::Item) -> A, Self: Sized,

source§

fn sample_stream_cloned<A>(self, stream: A) -> SampleStreamCloned<Self, A>
where A: Stream, <A as Stream>::Item: Clone, Self: Sized,

Creates a Stream which samples the value of self whenever the Stream has a new value. Read more
source§

fn for_each<U, F>(self, callback: F) -> ForEach<Self, U, F>
where U: Future<Output = ()>, F: FnMut(Self::Item) -> U, Self: Sized,

source§

fn to_signal_vec(self) -> SignalSignalVec<Self>
where Self: Sized,

source§

fn wait_for(self, value: Self::Item) -> WaitFor<Self>
where Self::Item: PartialEq, Self: Sized,

source§

fn first(self) -> First<Self>
where Self: Sized,

source§

fn stop_if<F>(self, test: F) -> StopIf<Self, F>
where F: FnMut(&Self::Item) -> bool, Self: Sized,

Conditionally stops the Signal. Read more
source§

fn debug(self) -> SignalDebug<Self>
where Self: Sized, Self::Item: Debug,

source§

fn broadcast(self) -> Broadcaster<Self>
where Self: Sized,

A convenience method for calling Broadcaster::new. Read more
source§

fn poll_change_unpin( &mut self, cx: &mut Context<'_> ) -> Poll<Option<Self::Item>>
where Self: Sized + Unpin,

A convenience for calling Signal::poll_change on Unpin types.
source§

fn boxed<'a>(self) -> Pin<Box<dyn Signal<Item = Self::Item> + Send + 'a>>
where Self: Sized + Send + 'a,

source§

fn boxed_local<'a>(self) -> Pin<Box<dyn Signal<Item = Self::Item> + 'a>>
where Self: Sized + 'a,

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.