pub struct TempDB { /* private fields */ }
Implementations
sourceimpl TempDB
impl TempDB
pub fn get_variable(&self, name: &str) -> Option<&Value>
pub fn set_variable(&mut self, name: String, value: Value) -> Option<Value>
pub fn get_table(&self, name: &str) -> Option<&(Vec<String>, Vec<Vec<Value>>)>
pub fn set_table(
&mut self,
name: String,
data: (Vec<String>, Vec<Vec<Value>>)
) -> Option<(Vec<String>, Vec<Vec<Value>>)>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TempDB
impl Send for TempDB
impl Sync for TempDB
impl Unpin for TempDB
impl UnwindSafe for TempDB
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian()
.
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian()
.
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian()
.