pub struct UpdateSum<T>(pub Last<T>);Expand description
Range Update Range Sum 用のモノイド作用
Tuple Fields§
§0: Last<T>Trait Implementations§
Source§impl<T, M> Act<M> for UpdateSum<T>
impl<T, M> Act<M> for UpdateSum<T>
impl<T: Copy> Copy for UpdateSum<T>
impl<T: Eq> Eq for UpdateSum<T>
impl<T> StructuralPartialEq for UpdateSum<T>
Auto Trait Implementations§
impl<T> Freeze for UpdateSum<T>
impl<T> RefUnwindSafe for UpdateSum<T>where
T: RefUnwindSafe,
impl<T> Send for UpdateSum<T>where
T: Send,
impl<T> Sync for UpdateSum<T>where
T: Sync,
impl<T> Unpin for UpdateSum<T>where
T: Unpin,
impl<T> UnwindSafe for UpdateSum<T>where
T: 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