pub struct TypeRegistry { /* private fields */ }Expand description
Registry of all known runtime types.
Implementations§
Source§impl TypeRegistry
impl TypeRegistry
Sourcepub fn register_builtins(&mut self)
pub fn register_builtins(&mut self)
Register built-in types (Nat, Bool, Unit, etc.).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeRegistry
impl RefUnwindSafe for TypeRegistry
impl Send for TypeRegistry
impl Sync for TypeRegistry
impl Unpin for TypeRegistry
impl UnsafeUnpin for TypeRegistry
impl UnwindSafe for TypeRegistry
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