pub trait AvltrieeUpdate<T, I, A>: AsMut<Avltriee<T, I, A>> + AvltrieeSearch<T, I, A>where
A: AvltrieeAllocator<T>,
I: ?Sized,{
// Required method
fn convert_on_insert_unique(&mut self, input: &I) -> T;
// Provided methods
fn on_delete(&mut self, _row: NonZero<u32>) { ... }
fn insert(&mut self, value: &I) -> NonZero<u32>
where T: Clone { ... }
fn update(&mut self, row: NonZero<u32>, value: &I)
where T: Clone { ... }
fn delete(&mut self, row: NonZero<u32>) { ... }
}Required Methods§
fn convert_on_insert_unique(&mut self, input: &I) -> T
Provided Methods§
fn on_delete(&mut self, _row: NonZero<u32>)
Sourcefn insert(&mut self, value: &I) -> NonZero<u32>where
T: Clone,
fn insert(&mut self, value: &I) -> NonZero<u32>where
T: Clone,
Creates a new row and assigns a value to it.
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.