pub struct TypeScheme {
pub vars: Vec<EcoString>,
pub body: Type,
}Fields§
§vars: Vec<EcoString>§body: TypeImplementations§
Trait Implementations§
Source§impl Clone for TypeScheme
impl Clone for TypeScheme
Source§impl Debug for TypeScheme
impl Debug for TypeScheme
Source§impl PartialEq for TypeScheme
impl PartialEq for TypeScheme
impl StructuralPartialEq for TypeScheme
Auto Trait Implementations§
impl Forget for TypeScheme
impl Freeze for TypeSchemewhere
*const u8 is !null: Freeze,
PhantomData<EcoString>: Freeze,
*const ArcInner<Box<[Type]>> is !null: Freeze,
PhantomData<ArcInner<Box<[Type]>>>: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<FunctionType> is !null: Freeze,
PhantomData<ArcInner<FunctionType>>: Freeze,
PhantomData<Type>: Freeze,
*const Type is !null: Freeze,
*const ArcInner<Spelling> is !null: Freeze,
PhantomData<ArcInner<Spelling>>: Freeze,
impl Move for TypeScheme
impl RefUnwindSafe for TypeScheme
impl Send for TypeScheme
impl Sync for TypeScheme
impl Unpin for TypeScheme
impl UnsafeUnpin for TypeSchemewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<EcoString>: UnsafeUnpin,
*const ArcInner<Box<[Type]>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Box<[Type]>>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<FunctionType> is !null: UnsafeUnpin,
PhantomData<ArcInner<FunctionType>>: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
*const Type is !null: UnsafeUnpin,
*const ArcInner<Spelling> is !null: UnsafeUnpin,
PhantomData<ArcInner<Spelling>>: UnsafeUnpin,
impl UnwindSafe for TypeSchemewhere
RawVecInner: UnwindSafe,
NonNull<u8>: UnwindSafe,
Arc<Box<[Type]>>: UnwindSafe,
Arc<FunctionType>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
Arc<Spelling>: UnwindSafe,
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