pub enum TypeDefKind {
}
Variants§
Record(Record)
Resource
Handle(Handle)
Flags(Flags)
Tuple(Tuple)
Variant(Variant)
Enum(Enum)
Option(Type)
Result(Result_)
List(Type)
FixedSizeList(Type, u32)
Future(Option<Type>)
Stream(Option<Type>)
Type(Type)
Unknown
This represents a type of unknown structure imported from a foreign interface.
This variant is only used during the creation of UnresolvedPackage
but
by the time a Resolve
is created then this will not exist.
Implementations§
Trait Implementations§
Source§impl Clone for TypeDefKind
impl Clone for TypeDefKind
Source§fn clone(&self) -> TypeDefKind
fn clone(&self) -> TypeDefKind
Returns a duplicate 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 Hash for TypeDefKind
impl Hash for TypeDefKind
Source§impl PartialEq for TypeDefKind
impl PartialEq for TypeDefKind
Source§impl Serialize for TypeDefKind
impl Serialize for TypeDefKind
impl Eq for TypeDefKind
impl StructuralPartialEq for TypeDefKind
Auto Trait Implementations§
impl Freeze for TypeDefKind
impl RefUnwindSafe for TypeDefKind
impl Send for TypeDefKind
impl Sync for TypeDefKind
impl Unpin for TypeDefKind
impl UnwindSafe for TypeDefKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.