pub struct VariableFrame {
pub variables: HashMap<String, Variable>,
}
Expand description
变量作用域帧。
表示单个作用域内的变量定义,支持变量的定义和查找。
Fields§
§variables: HashMap<String, Variable>
Implementations§
Trait Implementations§
Source§impl Clone for VariableFrame
impl Clone for VariableFrame
Source§fn clone(&self) -> VariableFrame
fn clone(&self) -> VariableFrame
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for VariableFrame
impl RefUnwindSafe for VariableFrame
impl Send for VariableFrame
impl Sync for VariableFrame
impl Unpin for VariableFrame
impl UnwindSafe for VariableFrame
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