[−][src]Struct dominator_helpers::signals::DefaultSignal
If the provided signal is None, then a signal of the provided default otherwise, the signal's value
Implementations
impl<S, T> DefaultSignal<S, T> where
S: Signal<Item = T>,
[src]
S: Signal<Item = T>,
Trait Implementations
Auto Trait Implementations
impl<S, T> RefUnwindSafe for DefaultSignal<S, T> where
S: RefUnwindSafe,
T: RefUnwindSafe,
[src]
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, T> Send for DefaultSignal<S, T> where
S: Send,
T: Send,
[src]
S: Send,
T: Send,
impl<S, T> Sync for DefaultSignal<S, T> where
S: Sync,
T: Sync,
[src]
S: Sync,
T: Sync,
impl<S, T> Unpin for DefaultSignal<S, T> where
S: Unpin,
T: Unpin,
[src]
S: Unpin,
T: Unpin,
impl<S, T> UnwindSafe for DefaultSignal<S, T> where
S: UnwindSafe,
T: UnwindSafe,
[src]
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SignalExt for T where
T: Signal + ?Sized,
[src]
T: Signal + ?Sized,
pub fn to_stream(self) -> SignalStream<Self>
[src]
pub fn to_future(self) -> SignalFuture<Self>
[src]
pub fn map<A, B>(self, callback: B) -> Map<Self, B> where
B: FnMut(Self::Item) -> A,
[src]
B: FnMut(Self::Item) -> A,
pub fn inspect<A>(self, callback: A) -> Inspect<Self, A> where
A: FnMut(&Self::Item),
[src]
A: FnMut(&Self::Item),
pub fn dedupe_map<A, B>(self, callback: B) -> DedupeMap<Self, B> where
B: FnMut(&mut Self::Item) -> A,
[src]
B: FnMut(&mut Self::Item) -> A,
pub fn dedupe(self) -> Dedupe<Self>
[src]
pub fn dedupe_cloned(self) -> DedupeCloned<Self>
[src]
pub fn map_future<A, B>(self, callback: B) -> MapFuture<Self, A, B> where
A: Future,
B: FnMut(Self::Item) -> A,
[src]
A: Future,
B: FnMut(Self::Item) -> A,
pub fn filter_map<A, B>(self, callback: B) -> FilterMap<Self, B> where
B: FnMut(Self::Item) -> Option<A>,
[src]
B: FnMut(Self::Item) -> Option<A>,
pub fn throttle<A, B>(self, callback: B) -> Throttle<Self, A, B> where
A: Future<Output = ()>,
B: FnMut() -> A,
[src]
A: Future<Output = ()>,
B: FnMut() -> A,
pub fn flatten(self) -> Flatten<Self> where
Self::Item: Signal,
[src]
Self::Item: Signal,
pub fn switch<A, B>(self, callback: B) -> Switch<Self, A, B> where
A: Signal,
B: FnMut(Self::Item) -> A,
[src]
A: Signal,
B: FnMut(Self::Item) -> A,
pub fn switch_signal_vec<A, F>(self, callback: F) -> SwitchSignalVec<Self, A, F> where
A: SignalVec,
F: FnMut(Self::Item) -> A,
[src]
A: SignalVec,
F: FnMut(Self::Item) -> A,
pub fn for_each<U, F>(self, callback: F) -> ForEach<Self, U, F> where
F: FnMut(Self::Item) -> U,
U: Future<Output = ()>,
[src]
F: FnMut(Self::Item) -> U,
U: Future<Output = ()>,
pub fn to_signal_vec(self) -> SignalSignalVec<Self>
[src]
pub fn wait_for(self, value: Self::Item) -> WaitFor<Self> where
Self::Item: PartialEq<Self::Item>,
[src]
Self::Item: PartialEq<Self::Item>,
pub fn first(self) -> First<Self>
[src]
pub fn poll_change_unpin(
&mut self,
cx: &mut Context<'_>
) -> Poll<Option<Self::Item>> where
Self: Unpin,
[src]
&mut self,
cx: &mut Context<'_>
) -> Poll<Option<Self::Item>> where
Self: Unpin,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,