pub struct SegmentTree { /* private fields */ }Expand description
A segment tree that supports point-update and range-sum queries.
Implementations§
Auto Trait Implementations§
impl Freeze for SegmentTree
impl RefUnwindSafe for SegmentTree
impl Send for SegmentTree
impl Sync for SegmentTree
impl Unpin for SegmentTree
impl UnsafeUnpin for SegmentTree
impl UnwindSafe for SegmentTree
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