pub trait RangeVecOps<T: RangeInfo> {
// Required methods
fn merge_add(
&mut self,
new_info: T,
temp: &mut [u8],
) -> Result<(), RangeError<T>>;
fn merge_remove(
&mut self,
range: Range<T::Type>,
temp: &mut [u8],
) -> Result<(), RangeError<T>>;
fn merge_extend<I>(
&mut self,
ranges: I,
temp: &mut [u8],
) -> Result<(), RangeError<T>>
where I: IntoIterator<Item = T>;
fn contains_point(&self, value: T::Type) -> bool;
}Required Methods§
fn merge_add( &mut self, new_info: T, temp: &mut [u8], ) -> Result<(), RangeError<T>>
fn merge_remove( &mut self, range: Range<T::Type>, temp: &mut [u8], ) -> Result<(), RangeError<T>>
fn merge_extend<I>(
&mut self,
ranges: I,
temp: &mut [u8],
) -> Result<(), RangeError<T>>where
I: IntoIterator<Item = T>,
fn contains_point(&self, value: T::Type) -> bool
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.