pub struct Var {
pub var: Vec<String>,
pub var_name: Vec<String>,
pub max_mem: u64,
}Fields§
§var: Vec<String>§var_name: Vec<String>§max_mem: u64Implementations§
Source§impl Var
impl Var
pub fn new() -> Var
pub fn new_var(&mut self, name: &str, value: &str)
pub fn get_var(&mut self, name: String) -> String
pub fn _up_var(&mut self, name: &str, new_val: &str)
pub fn del_var(&mut self, name: &str)
pub fn _chk_mem(&self)
pub fn set_max_mem(&mut self, max: u64)
pub fn _dump(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Var
impl RefUnwindSafe for Var
impl Send for Var
impl Sync for Var
impl Unpin for Var
impl UnwindSafe for Var
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