pub enum TyKind {
Int,
Sym,
Str,
List,
Map,
Fun,
Mod,
Unit,
Bool,
}Expand description
Value kinds with builtin module prototypes, allowing as <Proto> to
compile to a discriminant test (see ProtoRef::Kind).
Variants§
Int
Sym
Str
List
Map
Fun
Mod
Module value (prototype __Mod).
Unit
Unit value (prototype __Unit).
Bool
Boolean (iota of __Bool).
Implementations§
Trait Implementations§
impl Copy for TyKind
impl Eq for TyKind
impl StructuralPartialEq for TyKind
Auto Trait Implementations§
impl Freeze for TyKind
impl RefUnwindSafe for TyKind
impl Send for TyKind
impl Sync for TyKind
impl Unpin for TyKind
impl UnsafeUnpin for TyKind
impl UnwindSafe for TyKind
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