pub enum TypeKind {
Show 29 variants
Byte,
Int,
Codepoint,
Float,
String(Rc<Type>, Rc<Type>),
StringStorage(Rc<Type>, Rc<Type>, usize),
Bool,
Unit,
Tuple(Vec<Rc<Type>>),
NamedStruct(NamedStructType),
AnonymousStruct(AnonymousStructType),
Range(Rc<Type>),
Enum(EnumType),
Function(Signature),
Optional(Rc<Type>),
FixedCapacityAndLengthArray(Rc<Type>, usize),
SliceView(Rc<Type>),
VecStorage(Rc<Type>, usize),
DynamicLengthVecView(Rc<Type>),
StackStorage(Rc<Type>, usize),
StackView(Rc<Type>),
QueueStorage(Rc<Type>, usize),
QueueView(Rc<Type>),
MapStorage(Rc<Type>, Rc<Type>, usize),
DynamicLengthMapView(Rc<Type>, Rc<Type>),
SparseView(Rc<Type>),
SparseStorage(Rc<Type>, usize),
GridStorage(Rc<Type>, usize, usize),
GridView(Rc<Type>),
}Variants§
Byte
Int
Codepoint
Float
String(Rc<Type>, Rc<Type>)
StringStorage(Rc<Type>, Rc<Type>, usize)
Bool
Unit
Tuple(Vec<Rc<Type>>)
NamedStruct(NamedStructType)
AnonymousStruct(AnonymousStructType)
Range(Rc<Type>)
Enum(EnumType)
Function(Signature)
Optional(Rc<Type>)
FixedCapacityAndLengthArray(Rc<Type>, usize)
SliceView(Rc<Type>)
VecStorage(Rc<Type>, usize)
DynamicLengthVecView(Rc<Type>)
StackStorage(Rc<Type>, usize)
StackView(Rc<Type>)
QueueStorage(Rc<Type>, usize)
QueueView(Rc<Type>)
MapStorage(Rc<Type>, Rc<Type>, usize)
DynamicLengthMapView(Rc<Type>, Rc<Type>)
SparseView(Rc<Type>)
SparseStorage(Rc<Type>, usize)
GridStorage(Rc<Type>, usize, usize)
GridView(Rc<Type>)
Trait Implementations§
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