Enum wasmtime_environ::ir::ValueLoc [−][src]
Expand description
Value location.
Variants
This value has not been assigned to a location yet.
Reg(u16)
Value is assigned to a register.
Stack(StackSlot)
Value is assigned to a stack slot.
Implementations
Is this an assigned location? (That is, not Unassigned
).
Get the register unit of this location, or panic.
Get the stack slot of this location, or panic.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ValueLoc, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ValueLoc, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ValueLoc
impl UnwindSafe for ValueLoc
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.