Struct versatile_data::Field
source · pub struct Field { /* private fields */ }Implementations§
Methods from Deref<Target = IdxBinary<FieldEntity>>§
pub fn bytes(&self, row: u32) -> Option<&'static [u8]>
pub fn update(&mut self, row: u32, content: &[u8]) -> Result<u32, Error>where T: Clone,
pub fn cmp(&self, data: &T, content: &[u8]) -> Ordering
Methods from Deref<Target = IdxFile<T>>§
pub fn triee(&self) -> &Avltriee<T>
pub fn triee_mut(&mut self) -> &mut Avltriee<T>
pub fn value(&self, row: u32) -> Option<&T>
pub fn new_row(&mut self, row: u32) -> Result<u32, Error>
pub fn insert(&mut self, value: T) -> Result<u32, Error>where T: Ord + Clone,
pub fn update(&mut self, row: u32, value: T) -> Result<u32, Error>where T: Ord + Clone,
pub fn delete(&mut self, row: u32) -> Result<(), Error>
pub fn exists(&self, row: u32) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more