Struct versatile_data::Field
source · [−]pub struct Field { /* private fields */ }
Implementations
sourceimpl Field
impl Field
pub fn new(path_prefix: &str) -> Result<Field, Error>
pub fn entity<'a>(&self, id: u32) -> Option<&'a FieldEntity>
pub fn string<'a>(&self, id: u32) -> Option<&'a str>
pub fn search_match(&self, str: &str, and: Option<IdSet>) -> IdSet
pub fn update(&mut self, id: u32, addr: *const i8) -> Option<u32>
pub fn delete(&mut self, id: u32)
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
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