pub struct Zip<S> { /* private fields */ }Expand description
Several observables viewed as one tuple-valued source. Built by
combine; observing it directly notifies on a change to any input.
Trait Implementations§
Source§impl<SA, A, SB, B> Observable<(A, B)> for Zip<(SA, SB)>where
SA: Observable<A>,
SB: Observable<B>,
impl<SA, A, SB, B> Observable<(A, B)> for Zip<(SA, SB)>where
SA: Observable<A>,
SB: Observable<B>,
fn source_id(&self) -> SourceId
fn source_name(&self) -> Arc<str> ⓘ
fn get(&self) -> (A, B)
Source§fn value_version(&self) -> Option<u64>
fn value_version(&self) -> Option<u64>
A counter identifying the current value, or
None if unknown. Read morefn subscribe(&self, observer: Observer) -> Subscription
Source§impl<SA, A, SB, B, SC, C> Observable<(A, B, C)> for Zip<(SA, SB, SC)>
impl<SA, A, SB, B, SC, C> Observable<(A, B, C)> for Zip<(SA, SB, SC)>
fn source_id(&self) -> SourceId
fn source_name(&self) -> Arc<str> ⓘ
fn get(&self) -> (A, B, C)
Source§fn value_version(&self) -> Option<u64>
fn value_version(&self) -> Option<u64>
A counter identifying the current value, or
None if unknown. Read morefn subscribe(&self, observer: Observer) -> Subscription
Source§impl<SA, A, SB, B, SC, C, SD, D> Observable<(A, B, C, D)> for Zip<(SA, SB, SC, SD)>
impl<SA, A, SB, B, SC, C, SD, D> Observable<(A, B, C, D)> for Zip<(SA, SB, SC, SD)>
fn source_id(&self) -> SourceId
fn source_name(&self) -> Arc<str> ⓘ
fn get(&self) -> (A, B, C, D)
Source§fn value_version(&self) -> Option<u64>
fn value_version(&self) -> Option<u64>
A counter identifying the current value, or
None if unknown. Read morefn subscribe(&self, observer: Observer) -> Subscription
Auto Trait Implementations§
impl<S> Forget for Zip<S>
impl<S> Freeze for Zip<S>where
S: Freeze,
impl<S> Move for Zip<S>
impl<S> RefUnwindSafe for Zip<S>where
S: RefUnwindSafe,
impl<S> Send for Zip<S>where
S: Send,
impl<S> Sync for Zip<S>where
S: Sync,
impl<S> Unpin for Zip<S>where
S: Unpin,
impl<S> UnsafeUnpin for Zip<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Zip<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.