Enum wit_parser::TypeDefKind
source · pub enum TypeDefKind {
Record(Record),
Flags(Flags),
Tuple(Tuple),
Variant(Variant),
Enum(Enum),
Option(Type),
Result(Result_),
Union(Union),
List(Type),
Future(Option<Type>),
Stream(Stream),
Type(Type),
}
Variants
Record(Record)
Flags(Flags)
Tuple(Tuple)
Variant(Variant)
Enum(Enum)
Option(Type)
Result(Result_)
Union(Union)
List(Type)
Future(Option<Type>)
Stream(Stream)
Type(Type)
Trait Implementations
sourceimpl Clone for TypeDefKind
impl Clone for TypeDefKind
sourcefn clone(&self) -> TypeDefKind
fn clone(&self) -> TypeDefKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TypeDefKind
impl Debug for TypeDefKind
sourceimpl PartialEq<TypeDefKind> for TypeDefKind
impl PartialEq<TypeDefKind> for TypeDefKind
sourcefn eq(&self, other: &TypeDefKind) -> bool
fn eq(&self, other: &TypeDefKind) -> bool
impl StructuralPartialEq for TypeDefKind
Auto Trait Implementations
impl RefUnwindSafe for TypeDefKind
impl Send for TypeDefKind
impl Sync for TypeDefKind
impl Unpin for TypeDefKind
impl UnwindSafe for TypeDefKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more