pub trait Block<V> {
type Key;
// Required methods
fn bisect<C, BV>(
&self,
range: &Range<BV>,
collator: &Collator<C>,
) -> (usize, usize)
where C: Collate<Value = V>,
BV: Borrow<V>;
fn bisect_left<C, BV>(&self, key: &[BV], collator: &Collator<C>) -> usize
where C: Collate<Value = V>,
BV: Borrow<V>;
fn bisect_right<C, BV>(&self, key: &[BV], collator: &Collator<C>) -> usize
where C: Collate<Value = V>,
BV: Borrow<V>;
}
Expand description
An ordered set of keys in a Node
.
Required Associated Types§
Required Methods§
fn bisect<C, BV>( &self, range: &Range<BV>, collator: &Collator<C>, ) -> (usize, usize)
fn bisect_left<C, BV>(&self, key: &[BV], collator: &Collator<C>) -> usize
fn bisect_right<C, BV>(&self, key: &[BV], collator: &Collator<C>) -> usize
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.