pub struct LastOperation<T>where
T: Clone,{ /* private fields */ }
Expand description
retain the last element
Trait Implementations§
Source§impl<T> Magma for LastOperation<T>where
T: Clone,
impl<T> Magma for LastOperation<T>where
T: Clone,
Source§impl<T> Unital for LastOperation<T>where
T: Clone,
impl<T> Unital for LastOperation<T>where
T: Clone,
impl<T> Associative for LastOperation<T>where
T: Clone,
impl<T> Idempotent for LastOperation<T>where
T: Clone,
Auto Trait Implementations§
impl<T> Freeze for LastOperation<T>
impl<T> RefUnwindSafe for LastOperation<T>
impl<T> Send for LastOperation<T>
impl<T> Sync for LastOperation<T>
impl<T> Unpin for LastOperation<T>
impl<T> UnwindSafe for LastOperation<T>
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