[−][src]Struct rxrust::ops::map::MapOp   
Trait Implementations
impl<S: Clone, M: Clone> Clone for MapOp<S, M>[src]
impl<'a, Item, S, M> LocalObservable<'a> for MapOp<S, M> where
    S: LocalObservable<'a>,
    M: FnMut(S::Item) -> Item + 'a,
    S::Item: 'a, [src]
S: LocalObservable<'a>,
M: FnMut(S::Item) -> Item + 'a,
S::Item: 'a,
type Unsub = S::Unsub
pub fn actual_subscribe<O>(
    self, 
    subscriber: Subscriber<O, LocalSubscription>
) -> Self::Unsub where
    O: Observer<Item = Self::Item, Err = Self::Err> + 'a, [src]
self,
subscriber: Subscriber<O, LocalSubscription>
) -> Self::Unsub where
O: Observer<Item = Self::Item, Err = Self::Err> + 'a,
impl<Item, S, M> Observable for MapOp<S, M> where
    S: Observable,
    M: FnMut(S::Item) -> Item, [src]
S: Observable,
M: FnMut(S::Item) -> Item,
type Item = Item
type Err = S::Err
pub fn first(self) -> TakeOp<Self> where
    Self: Sized, [src]
Self: Sized,
pub fn first_or(
    self, 
    default: Self::Item
) -> FirstOrOp<TakeOp<Self>, Self::Item> where
    Self: Sized, [src]
self,
default: Self::Item
) -> FirstOrOp<TakeOp<Self>, Self::Item> where
Self: Sized,
pub fn last_or(self, default: Self::Item) -> LastOrOp<Self, Self::Item> where
    Self: Sized, [src]
Self: Sized,
pub fn last(self) -> LastOrOp<Self, Self::Item> where
    Self: Sized, [src]
Self: Sized,
pub fn finalize<F>(self, f: F) -> FinalizeOp<Self, F> where
    Self: Sized,
    F: FnMut(), [src]
Self: Sized,
F: FnMut(),
pub fn map<B, F>(self, f: F) -> MapOp<Self, F> where
    Self: Sized,
    F: Fn(Self::Item) -> B, [src]
Self: Sized,
F: Fn(Self::Item) -> B,
pub fn map_to<B>(self, value: B) -> MapToOp<Self, B> where
    Self: Sized, [src]
Self: Sized,
pub fn merge<S>(self, o: S) -> MergeOp<Self, S> where
    Self: Sized,
    S: Observable<Item = Self::Item, Err = Self::Err>, [src]
Self: Sized,
S: Observable<Item = Self::Item, Err = Self::Err>,
pub fn filter<F>(self, filter: F) -> FilterOp<Self, F> where
    Self: Sized,
    F: Fn(&Self::Item) -> bool, [src]
Self: Sized,
F: Fn(&Self::Item) -> bool,
pub fn filter_map<F, SourceItem, Item>(self, f: F) -> FilterMapOp<Self, F> where
    Self: Sized,
    F: FnMut(SourceItem) -> Option<Item>, [src]
Self: Sized,
F: FnMut(SourceItem) -> Option<Item>,
pub fn box_it<O: IntoBox<Self>>(self) -> BoxOp<O> where
    Self: Sized,
    BoxOp<O>: Observable<Item = Self::Item, Err = Self::Err>, [src]
Self: Sized,
BoxOp<O>: Observable<Item = Self::Item, Err = Self::Err>,
pub fn skip(self, count: u32) -> SkipOp<Self> where
    Self: Sized, [src]
Self: Sized,
pub fn skip_last(self, count: usize) -> SkipLastOp<Self> where
    Self: Sized, [src]
Self: Sized,
pub fn take(self, count: u32) -> TakeOp<Self> where
    Self: Sized, [src]
Self: Sized,
pub fn take_until<T>(self, notifier: T) -> TakeUntilOp<Self, T> where
    Self: Sized, [src]
Self: Sized,
pub fn take_while<F>(self, callback: F) -> TakeWhileOp<Self, F> where
    Self: Sized,
    F: FnMut(&Self::Item) -> bool, [src]
Self: Sized,
F: FnMut(&Self::Item) -> bool,
pub fn take_last(self, count: usize) -> TakeLastOp<Self> where
    Self: Sized, [src]
Self: Sized,
pub fn sample<O>(self, sampling: O) -> SampleOp<Self, O> where
    Self: Sized,
    O: Observable, [src]
Self: Sized,
O: Observable,
pub fn scan_initial<OutputItem, BinaryOp>(
    self, 
    initial_value: OutputItem, 
    binary_op: BinaryOp
) -> ScanOp<Self, BinaryOp, OutputItem> where
    Self: Sized,
    BinaryOp: Fn(OutputItem, Self::Item) -> OutputItem,
    OutputItem: Clone, [src]
self,
initial_value: OutputItem,
binary_op: BinaryOp
) -> ScanOp<Self, BinaryOp, OutputItem> where
Self: Sized,
BinaryOp: Fn(OutputItem, Self::Item) -> OutputItem,
OutputItem: Clone,
pub fn scan<OutputItem, BinaryOp>(
    self, 
    binary_op: BinaryOp
) -> ScanOp<Self, BinaryOp, OutputItem> where
    Self: Sized,
    BinaryOp: Fn(OutputItem, Self::Item) -> OutputItem,
    OutputItem: Default + Clone, [src]
self,
binary_op: BinaryOp
) -> ScanOp<Self, BinaryOp, OutputItem> where
Self: Sized,
BinaryOp: Fn(OutputItem, Self::Item) -> OutputItem,
OutputItem: Default + Clone,
pub fn reduce_initial<OutputItem, BinaryOp>(
    self, 
    initial: OutputItem, 
    binary_op: BinaryOp
) -> ReduceOp<Self, BinaryOp, OutputItem> where
    Self: Sized,
    BinaryOp: Fn(OutputItem, Self::Item) -> OutputItem,
    OutputItem: Clone, [src]
self,
initial: OutputItem,
binary_op: BinaryOp
) -> ReduceOp<Self, BinaryOp, OutputItem> where
Self: Sized,
BinaryOp: Fn(OutputItem, Self::Item) -> OutputItem,
OutputItem: Clone,
pub fn reduce<OutputItem, BinaryOp>(
    self, 
    binary_op: BinaryOp
) -> LastOrOp<ScanOp<Self, BinaryOp, OutputItem>, OutputItem> where
    Self: Sized,
    BinaryOp: Fn(OutputItem, Self::Item) -> OutputItem,
    OutputItem: Default + Clone, [src]
self,
binary_op: BinaryOp
) -> LastOrOp<ScanOp<Self, BinaryOp, OutputItem>, OutputItem> where
Self: Sized,
BinaryOp: Fn(OutputItem, Self::Item) -> OutputItem,
OutputItem: Default + Clone,
pub fn max(self) -> MinMaxOp<Self, Self::Item> where
    Self: Sized,
    Self::Item: Clone + Send + PartialOrd<Self::Item>, [src]
Self: Sized,
Self::Item: Clone + Send + PartialOrd<Self::Item>,
pub fn min(self) -> MinMaxOp<Self, Self::Item> where
    Self: Sized,
    Self::Item: Clone + Send + PartialOrd<Self::Item>, [src]
Self: Sized,
Self::Item: Clone + Send + PartialOrd<Self::Item>,
pub fn sum(self) -> SumOp<Self, Self::Item> where
    Self: Sized,
    Self::Item: Clone + Default + Add<Self::Item, Output = Self::Item>, [src]
Self: Sized,
Self::Item: Clone + Default + Add<Self::Item, Output = Self::Item>,
pub fn count(self) -> CountOp<Self, Self::Item> where
    Self: Sized, [src]
Self: Sized,
pub fn average(self) -> AverageOp<Self, Self::Item> where
    Self: Sized,
    Self::Item: Clone + Send + Default + Add<Self::Item, Output = Self::Item> + Mul<f64, Output = Self::Item>, [src]
Self: Sized,
Self::Item: Clone + Send + Default + Add<Self::Item, Output = Self::Item> + Mul<f64, Output = Self::Item>,
pub fn publish<Subject: Default>(self) -> ConnectableObservable<Self, Subject> where
    Self: Sized, [src]
Self: Sized,
pub fn share<Subject, Inner>(
    self
) -> RefCount<Inner, ConnectableObservable<Self, Subject>> where
    Inner: RefCountCreator<Connectable = ConnectableObservable<Self, Subject>>,
    Subject: Default,
    Self: Sized + Clone, [src]
self
) -> RefCount<Inner, ConnectableObservable<Self, Subject>> where
Inner: RefCountCreator<Connectable = ConnectableObservable<Self, Subject>>,
Subject: Default,
Self: Sized + Clone,
pub fn delay<SD>(self, dur: Duration, scheduler: SD) -> DelayOp<Self, SD> where
    Self: Sized, [src]
Self: Sized,
pub fn delay_at<SD>(self, at: Instant, scheduler: SD) -> DelayOp<Self, SD> where
    Self: Sized, [src]
Self: Sized,
pub fn subscribe_on<SD>(self, scheduler: SD) -> SubscribeOnOP<Self, SD> where
    Self: Sized, [src]
Self: Sized,
pub fn observe_on<SD>(self, scheduler: SD) -> ObserveOnOp<Self, SD> where
    Self: Sized, [src]
Self: Sized,
pub fn debounce<SD>(
    self, 
    duration: Duration, 
    scheduler: SD
) -> DebounceOp<Self, SD> where
    Self: Sized, [src]
self,
duration: Duration,
scheduler: SD
) -> DebounceOp<Self, SD> where
Self: Sized,
pub fn throttle_time<SD>(
    self, 
    duration: Duration, 
    edge: ThrottleEdge, 
    scheduler: SD
) -> ThrottleTimeOp<Self, SD> where
    Self: Sized, [src]
self,
duration: Duration,
edge: ThrottleEdge,
scheduler: SD
) -> ThrottleTimeOp<Self, SD> where
Self: Sized,
pub fn distinct(self) -> DistinctOp<Self> where
    Self: Sized, [src]
Self: Sized,
pub fn zip<U>(self, other: U) -> ZipOp<Self, U> where
    Self: Sized,
    U: Observable, [src]
Self: Sized,
U: Observable,
pub fn default_if_empty(
    self, 
    default_value: Self::Item
) -> DefaultIfEmptyOp<Self> where
    Self: Sized, [src]
self,
default_value: Self::Item
) -> DefaultIfEmptyOp<Self> where
Self: Sized,
impl<Item, S, M> SharedObservable for MapOp<S, M> where
    S: SharedObservable,
    M: FnMut(S::Item) -> Item + Send + Sync + 'static,
    S::Item: 'static, [src]
S: SharedObservable,
M: FnMut(S::Item) -> Item + Send + Sync + 'static,
S::Item: 'static,
Auto Trait Implementations
impl<S, M> RefUnwindSafe for MapOp<S, M> where
    M: RefUnwindSafe,
    S: RefUnwindSafe, 
M: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, M> Send for MapOp<S, M> where
    M: Send,
    S: Send, 
M: Send,
S: Send,
impl<S, M> Sync for MapOp<S, M> where
    M: Sync,
    S: Sync, 
M: Sync,
S: Sync,
impl<S, M> Unpin for MapOp<S, M> where
    M: Unpin,
    S: Unpin, 
M: Unpin,
S: Unpin,
impl<S, M> UnwindSafe for MapOp<S, M> where
    M: UnwindSafe,
    S: UnwindSafe, 
M: UnwindSafe,
S: 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<'a, T> BoxClone<'a> for T where
    T: BoxObservable<'a> + Clone + 'a, [src]
T: BoxObservable<'a> + Clone + 'a,
pub fn box_clone(
    &Self
) -> Box<dyn BoxClone<'a, Err = <T as BoxObservable<'a>>::Err, Item = <T as BoxObservable<'a>>::Item> + 'a, Global>[src]
&Self
) -> Box<dyn BoxClone<'a, Err = <T as BoxObservable<'a>>::Err, Item = <T as BoxObservable<'a>>::Item> + 'a, Global>
impl<'a, T> BoxObservable<'a> for T where
    T: LocalObservable<'a> + 'a, [src]
T: LocalObservable<'a> + 'a,
type Item = <T as Observable>::Item
type Err = <T as Observable>::Err
pub fn box_subscribe(
    Box<T, Global>, 
    Subscriber<Box<dyn Observer<Err = <T as BoxObservable<'a>>::Err, Item = <T as BoxObservable<'a>>::Item> + 'a, Global>, LocalSubscription>
) -> Box<dyn SubscriptionLike + 'static, Global>[src]
Box<T, Global>,
Subscriber<Box<dyn Observer<Err = <T as BoxObservable<'a>>::Err, Item = <T as BoxObservable<'a>>::Item> + 'a, Global>, LocalSubscription>
) -> Box<dyn SubscriptionLike + 'static, Global>
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> SharedBoxClone for T where
    T: SharedBoxObservable + Clone + 'static, [src]
T: SharedBoxObservable + Clone + 'static,
pub fn box_clone(
    &Self
) -> Box<dyn SharedBoxClone<Item = <T as SharedBoxObservable>::Item, Err = <T as SharedBoxObservable>::Err> + 'static, Global>[src]
&Self
) -> Box<dyn SharedBoxClone<Item = <T as SharedBoxObservable>::Item, Err = <T as SharedBoxObservable>::Err> + 'static, Global>
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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>,