pub struct Segtree<M: Monoid> { /* private fields */ }
Expand description
モノイド列の点更新・区間取得($O(\log n)$, $O(\log n)$)ができる。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for Segtree<M>
impl<M> RefUnwindSafe for Segtree<M>where
M: RefUnwindSafe,
impl<M> Send for Segtree<M>where
M: Send,
impl<M> Sync for Segtree<M>where
M: Sync,
impl<M> Unpin for Segtree<M>where
M: Unpin,
impl<M> UnwindSafe for Segtree<M>where
M: 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