Enum jazz_vm::opcode::ValueLocation [−][src]
pub enum ValueLocation { Stack(isize), Local(usize), Argument(usize), ConstInt(i64), ConstFloat(f64), ConstString(String), ConstBool(bool), ConstNull, ConstObject(usize), This, }
Variants
Stack(isize)
Local(usize)
Argument(usize)
ConstInt(i64)
ConstFloat(f64)
ConstString(String)
ConstBool(bool)
ConstNull
ConstObject(usize)
This
Methods
impl ValueLocation
[src]
impl ValueLocation
pub fn to_opcode(&self) -> Option<OpCode>
[src]
pub fn to_opcode(&self) -> Option<OpCode>
pub fn from_opcode(op: &OpCode) -> Option<ValueLocation>
[src]
pub fn from_opcode(op: &OpCode) -> Option<ValueLocation>
pub fn extract(&self, frame: &Frame, pool: &mut ObjectPool) -> Value
[src]
pub fn extract(&self, frame: &Frame, pool: &mut ObjectPool) -> Value
pub fn to_value(&self) -> Option<Value>
[src]
pub fn to_value(&self) -> Option<Value>
Trait Implementations
impl Clone for ValueLocation
[src]
impl Clone for ValueLocation
fn clone(&self) -> ValueLocation
[src]
fn clone(&self) -> ValueLocation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ValueLocation
[src]
impl Debug for ValueLocation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ValueLocation
[src]
impl PartialEq for ValueLocation
fn eq(&self, other: &ValueLocation) -> bool
[src]
fn eq(&self, other: &ValueLocation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ValueLocation) -> bool
[src]
fn ne(&self, other: &ValueLocation) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ValueLocation
impl Send for ValueLocation
impl Sync for ValueLocation
impl Sync for ValueLocation