pub struct OptionReducer<R>(/* private fields */);Trait Implementations§
Source§impl<R: Clone> Clone for OptionReducer<R>
impl<R: Clone> Clone for OptionReducer<R>
Source§fn clone(&self) -> OptionReducer<R>
fn clone(&self) -> OptionReducer<R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<R: Default> Default for OptionReducer<R>
impl<R: Default> Default for OptionReducer<R>
Source§fn default() -> OptionReducer<R>
fn default() -> OptionReducer<R>
Returns the “default value” for a type. Read more
Source§impl<'de, R> Deserialize<'de> for OptionReducer<R>where
R: Deserialize<'de>,
impl<'de, R> Deserialize<'de> for OptionReducer<R>where
R: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<R: Reducer<Item>, Item> ReducerProcessSend<Option<Item>> for OptionReducer<R>where
R::Done: ProcessSend + 'static,
impl<R: Reducer<Item>, Item> ReducerProcessSend<Option<Item>> for OptionReducer<R>where
R::Done: ProcessSend + 'static,
Source§impl<R: Reducer<Item>, Item> ReducerSend<Option<Item>> for OptionReducer<R>
impl<R: Reducer<Item>, Item> ReducerSend<Option<Item>> for OptionReducer<R>
Auto Trait Implementations§
impl<R> Freeze for OptionReducer<R>where
R: Freeze,
impl<R> RefUnwindSafe for OptionReducer<R>where
R: RefUnwindSafe,
impl<R> Send for OptionReducer<R>where
R: Send,
impl<R> Sync for OptionReducer<R>where
R: Sync,
impl<R> Unpin for OptionReducer<R>where
R: Unpin,
impl<R> UnwindSafe for OptionReducer<R>where
R: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more