Enum wai_parser::TypeDefKind
source · pub enum TypeDefKind {
Record(Record),
Flags(Flags),
Tuple(Tuple),
Variant(Variant),
Enum(Enum),
Option(Type),
Expected(Expected),
Union(Union),
List(Type),
Future(Type),
Stream(Stream),
Type(Type),
}
Variants§
Record(Record)
Flags(Flags)
Tuple(Tuple)
Variant(Variant)
Enum(Enum)
Option(Type)
Expected(Expected)
Union(Union)
List(Type)
Future(Type)
Stream(Stream)
Type(Type)
Trait Implementations§
source§impl Clone for TypeDefKind
impl Clone for TypeDefKind
source§fn clone(&self) -> TypeDefKind
fn clone(&self) -> TypeDefKind
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 TypeDefKind
impl Debug for TypeDefKind
source§impl PartialEq<TypeDefKind> for TypeDefKind
impl PartialEq<TypeDefKind> for TypeDefKind
source§fn eq(&self, other: &TypeDefKind) -> bool
fn eq(&self, other: &TypeDefKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.