pub struct TypeVarAllocator { /* private fields */ }Expand description
Allocator for fresh type variables.
Each function gets its own allocator to generate unique type variable IDs.
Implementations§
Trait Implementations§
Source§impl Debug for TypeVarAllocator
impl Debug for TypeVarAllocator
Source§impl Default for TypeVarAllocator
impl Default for TypeVarAllocator
Source§fn default() -> TypeVarAllocator
fn default() -> TypeVarAllocator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TypeVarAllocator
impl RefUnwindSafe for TypeVarAllocator
impl Send for TypeVarAllocator
impl Sync for TypeVarAllocator
impl Unpin for TypeVarAllocator
impl UnwindSafe for TypeVarAllocator
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