pub struct DifferenceArray { /* private fields */ }Expand description
Difference array for O(1) range-update, O(n) reconstruction.
Supports range additions: add val to all elements in [lo, hi].
Implementations§
Auto Trait Implementations§
impl Freeze for DifferenceArray
impl RefUnwindSafe for DifferenceArray
impl Send for DifferenceArray
impl Sync for DifferenceArray
impl Unpin for DifferenceArray
impl UnsafeUnpin for DifferenceArray
impl UnwindSafe for DifferenceArray
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