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 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>)

fn update(&mut self, row: NonZero<u32>, value: &I)
where T: Clone,

Updates the value in the specified row.

fn delete(&mut self, row: NonZero<u32>)

Delete the specified row.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl AvltrieeUpdate<DataAddress, [u8], IdxFileAllocator<DataAddress>> for IdxBinary

§

impl<T, A> AvltrieeUpdate<T, T, A> for Avltriee<T, T, A>
where T: Ord + Clone, A: AvltrieeAllocator<T>,