pub struct Table {
pub t: SHTable,
/* private fields */
}
Fields
t: SHTable
Implementations
sourceimpl Table
impl Table
pub fn new() -> Table
pub fn insert(&mut self, k: &CString, v: Var) -> Option<Var>
pub fn insert_fast(&mut self, k: &CString, v: Var)
pub fn insert_fast_static(&mut self, k: &'static str, v: Var)
pub fn get_mut(&self, k: &CString) -> Option<&mut Var>
pub fn get_mut_fast(&mut self, k: &CString) -> &mut Var
pub fn get_mut_fast_static(&mut self, k: &'static str) -> &mut Var
pub fn get(&self, k: &CString) -> Option<&Var>
pub fn get_fast_static(&self, k: &'static str) -> &Var
pub fn iter(&self) -> TableIteratorⓘNotable traits for TableIteratorimpl Iterator for TableIterator type Item = (String, Var);
Trait Implementations
impl Send for Table
impl Sync for Table
Auto Trait Implementations
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