pub enum QValue {
Data(DataValue),
Left(Rc<RefCell<dyn LeftValue>>),
}Expand description
QVM 操作数栈元素。
Java 无同名对象;它对应 Java 栈上统一的 Value 引用,并显式区分
DataValue 与 LeftValue,以保留赋值别名语义。
Variants§
Data(DataValue)
不可变数据值,对应 Java DataValue。
Left(Rc<RefCell<dyn LeftValue>>)
可赋值共享槽位,对应 Java LeftValue 实现。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for QValue
impl !Send for QValue
impl !Sync for QValue
impl !UnwindSafe for QValue
impl Freeze for QValue
impl Unpin for QValue
impl UnsafeUnpin for QValue
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