pub struct SymbolScope { /* private fields */ }
Expand description
Scope of symbols.
Implementations§
Source§impl SymbolScope
impl SymbolScope
Sourcepub fn set_variable(&mut self, name: &str, value: SVal) -> bool
pub fn set_variable(&mut self, name: &str, value: SVal) -> bool
Set a variable by name. Will not insert if not present!
Trait Implementations§
Source§impl Clone for SymbolScope
impl Clone for SymbolScope
Source§fn clone(&self) -> SymbolScope
fn clone(&self) -> SymbolScope
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SymbolScope
impl Debug for SymbolScope
Source§impl Default for SymbolScope
impl Default for SymbolScope
Source§fn default() -> SymbolScope
fn default() -> SymbolScope
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SymbolScope
impl RefUnwindSafe for SymbolScope
impl Send for SymbolScope
impl Sync for SymbolScope
impl Unpin for SymbolScope
impl UnwindSafe for SymbolScope
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