Enum binaryen::ValueTy [−][src]
pub enum ValueTy { I32, I64, F32, F64, }
Type of the values. For example, these can be found on a stack and in local vars.
Note that the value types I32 and I64 are not inherently signed or unsigned. The interpretation of these types is determined by individual operators.
Variants
I32
32-bit integer
I64
64-bit integer
F32
32-bit floating point
F64
64-bit floating point
Trait Implementations
impl Copy for ValueTy
[src]
impl Copy for ValueTy
impl Clone for ValueTy
[src]
impl Clone for ValueTy
fn clone(&self) -> ValueTy
[src]
fn clone(&self) -> ValueTy
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 ValueTy
[src]
impl Debug for ValueTy
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 ValueTy
[src]
impl PartialEq for ValueTy
fn eq(&self, other: &ValueTy) -> bool
[src]
fn eq(&self, other: &ValueTy) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ValueTy
[src]
impl Eq for ValueTy
impl Hash for ValueTy
[src]
impl Hash for ValueTy
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl From<ValueTy> for Ty
[src]
impl From<ValueTy> for Ty
impl From<ValueTy> for BinaryenType
[src]
impl From<ValueTy> for BinaryenType
fn from(ty: ValueTy) -> BinaryenType
[src]
fn from(ty: ValueTy) -> BinaryenType
Performs the conversion.