pub enum TypeKind {
Table(DeclarationIndex),
Union(DeclarationIndex),
Vector(Box<Type>),
Array(Box<Type>, u32),
SimpleType(SimpleType),
String,
}Variants§
Table(DeclarationIndex)
Union(DeclarationIndex)
Vector(Box<Type>)
Array(Box<Type>, u32)
SimpleType(SimpleType)
String
Implementations§
Trait Implementations§
Source§impl From<&BuiltinType> for TypeKind
impl From<&BuiltinType> for TypeKind
Source§fn from(value: &BuiltinType) -> TypeKind
fn from(value: &BuiltinType) -> TypeKind
Converts to this type from the input type.
impl Eq for TypeKind
impl StructuralPartialEq for TypeKind
Auto Trait Implementations§
impl Freeze for TypeKind
impl RefUnwindSafe for TypeKind
impl Send for TypeKind
impl Sync for TypeKind
impl Unpin for TypeKind
impl UnwindSafe for TypeKind
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<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.