risingwave_common::range

Trait RangeBoundsExt

source
pub trait RangeBoundsExt<T: Idx>: RangeBounds<T> {
    // Provided methods
    fn start(&self) -> Option<T> { ... }
    fn end(&self) -> Option<T> { ... }
    fn len(&self) -> Option<T> { ... }
    fn is_empty(&self) -> bool { ... }
    fn is_full(&self) -> bool { ... }
    fn map<F, R>(&self, f: F) -> (Bound<R>, Bound<R>)
       where F: Fn(&T) -> R { ... }
}

Provided Methods§

source

fn start(&self) -> Option<T>

source

fn end(&self) -> Option<T>

source

fn len(&self) -> Option<T>

source

fn is_empty(&self) -> bool

source

fn is_full(&self) -> bool

source

fn map<F, R>(&self, f: F) -> (Bound<R>, Bound<R>)
where F: Fn(&T) -> R,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Idx, RB: RangeBounds<T>> RangeBoundsExt<T> for RB