pub struct IdxSized<T> { /* private fields */ }
Implementations
sourceimpl<T: Default + Copy> IdxSized<T>
impl<T: Default + Copy> IdxSized<T>
pub fn new(path: &str) -> Result<Self, Error>
pub fn triee_mut(&mut self) -> &mut Avltriee<T>
pub fn triee(&self) -> &Avltriee<T>
pub fn value(&self, row: u32) -> Option<T>
pub fn insert(&mut self, target: T) -> Result<u32, Error>where
T: Default + Ord,
pub fn update(&mut self, row: u32, value: T)where
T: Ord,
pub fn delete(&mut self, row: u32) -> Removed<T>
pub fn resize_to(&mut self, record_count: u32) -> Result<u32, Error>
pub fn max_rows(&self) -> u32
pub fn init(&mut self, data: T, root: u32) -> Result<u32, Error>
pub fn insert_unique(
&mut self,
data: T,
root: u32,
ord: Ordering,
insert_row: u32
) -> Result<u32, Error>where
T: Default,
pub fn insert_same(&mut self, root: u32, insert_row: u32) -> Result<u32, Error>
pub fn select_by_value(&self, value: &T) -> RowSetwhere
T: Ord,
pub fn select_by_value_from_to(&self, value_min: &T, value_max: &T) -> RowSetwhere
T: Ord,
pub fn select_by_value_from(&self, value_min: &T) -> RowSetwhere
T: Ord,
pub fn select_by_value_to(&self, value_max: &T) -> RowSetwhere
T: Ord,
Auto Trait Implementations
impl<T> RefUnwindSafe for IdxSized<T>where
T: RefUnwindSafe,
impl<T> Send for IdxSized<T>where
T: Send,
impl<T> Sync for IdxSized<T>where
T: Sync,
impl<T> Unpin for IdxSized<T>
impl<T> UnwindSafe for IdxSized<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more