pub enum TypeKind {
Builtin(BuiltinType),
Vector {
inner_type: Box<Type>,
},
Array {
inner_type: Box<Type>,
size: u32,
},
Path(NamespacePath),
Invalid,
}Variants§
Implementations§
Source§impl TypeKind
impl TypeKind
pub fn hash_unspanned<H>(&self, state: &mut H)where
H: Hasher,
pub fn eq_unspanned(&self, other: &Self) -> bool
Trait Implementations§
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