Enum wasm_encoder::TypeBounds
source · pub enum TypeBounds {
Eq,
}
Expand description
Represents the possible type bounds for type references.
Variants§
Eq
The type is bounded by equality.
Trait Implementations§
source§impl Clone for TypeBounds
impl Clone for TypeBounds
source§fn clone(&self) -> TypeBounds
fn clone(&self) -> TypeBounds
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TypeBounds
impl Debug for TypeBounds
source§impl Encode for TypeBounds
impl Encode for TypeBounds
source§impl Hash for TypeBounds
impl Hash for TypeBounds
source§impl PartialEq<TypeBounds> for TypeBounds
impl PartialEq<TypeBounds> for TypeBounds
source§fn eq(&self, other: &TypeBounds) -> bool
fn eq(&self, other: &TypeBounds) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.