pub struct TyVar {
pub name: Ident,
pub span: Span,
}Expand description
A type variable.
Fields§
§name: IdentThe name.
span: SpanThe span.
Trait Implementations§
impl Eq for TyVar
impl StructuralPartialEq for TyVar
Auto Trait Implementations§
impl Freeze for TyVar
impl RefUnwindSafe for TyVar
impl Send for TyVar
impl Sync for TyVar
impl Unpin for TyVar
impl UnsafeUnpin for TyVar
impl UnwindSafe for TyVar
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