Enum binaryen::Ty [−][src]
pub enum Ty { None, I32, I64, F32, F64, }
See 'ValueTy'.
Variants
None
I32
32-bit integer
I64
64-bit integer
F32
32-bit floating point
F64
64-bit floating point
Trait Implementations
impl Copy for Ty
[src]
impl Copy for Ty
impl Clone for Ty
[src]
impl Clone for Ty
fn clone(&self) -> Ty
[src]
fn clone(&self) -> Ty
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 Ty
[src]
impl Debug for Ty
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 Ty
[src]
impl PartialEq for Ty
fn eq(&self, other: &Ty) -> bool
[src]
fn eq(&self, other: &Ty) -> 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 Ty
[src]
impl Eq for Ty
impl Hash for Ty
[src]
impl Hash for Ty
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<Ty> for BinaryenType
[src]
impl From<Ty> for BinaryenType
fn from(ty: Ty) -> BinaryenType
[src]
fn from(ty: Ty) -> BinaryenType
Performs the conversion.