[][src]Struct treez::segmax::SegMax

pub struct SegMax<T> where
    T: Add<Output = T> + Ord + Debug + Clone + Min
{ /* fields omitted */ }

Implementations

impl<T> SegMax<T> where
    T: Add<Output = T> + Ord + Debug + Clone + Min
[src]

pub fn new(l: i64, r: i64) -> Self[src]

pub fn add(&mut self, l: i64, r: i64, delta: &T)[src]

pub fn query_range(&mut self, l: i64, r: i64) -> T[src]

pub fn update(&mut self, l: i64, r: i64, val: &T)[src]

Trait Implementations

impl<T: Clone> Clone for SegMax<T> where
    T: Add<Output = T> + Ord + Debug + Clone + Min
[src]

impl<T: Debug> Debug for SegMax<T> where
    T: Add<Output = T> + Ord + Debug + Clone + Min
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for SegMax<T> where
    T: RefUnwindSafe

impl<T> Send for SegMax<T> where
    T: Send

impl<T> Sync for SegMax<T> where
    T: Sync

impl<T> Unpin for SegMax<T> where
    T: Unpin

impl<T> UnwindSafe for SegMax<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,