pub struct AdtParam {
pub name: Symbol,
pub var: TypeVar,
}Expand description
A named type parameter for an ADT (e.g. a in List a).
Fields§
§name: Symbol§var: TypeVarTrait Implementations§
Auto Trait Implementations§
impl Freeze for AdtParam
impl RefUnwindSafe for AdtParam
impl Send for AdtParam
impl Sync for AdtParam
impl Unpin for AdtParam
impl UnsafeUnpin for AdtParam
impl UnwindSafe for AdtParam
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