pub struct OverwriteStateReducer;Expand description
A StateReducer that overwrites whole state with the update (the default
for State == Update graphs).
Trait Implementations§
Source§impl Clone for OverwriteStateReducer
impl Clone for OverwriteStateReducer
Source§fn clone(&self) -> OverwriteStateReducer
fn clone(&self) -> OverwriteStateReducer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OverwriteStateReducer
Source§impl Debug for OverwriteStateReducer
impl Debug for OverwriteStateReducer
Source§impl Default for OverwriteStateReducer
impl Default for OverwriteStateReducer
Source§fn default() -> OverwriteStateReducer
fn default() -> OverwriteStateReducer
Returns the “default value” for a type. Read more
Source§impl<State> StateReducer<State, State> for OverwriteStateReducer
impl<State> StateReducer<State, State> for OverwriteStateReducer
Auto Trait Implementations§
impl Freeze for OverwriteStateReducer
impl RefUnwindSafe for OverwriteStateReducer
impl Send for OverwriteStateReducer
impl Sync for OverwriteStateReducer
impl Unpin for OverwriteStateReducer
impl UnsafeUnpin for OverwriteStateReducer
impl UnwindSafe for OverwriteStateReducer
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