pub struct GenericTypePack<'ast> {
pub location: Location,
pub name: AstName<'ast>,
pub default_value: Option<TypePack<'ast>>,
}Fields§
§location: Location§name: AstName<'ast>§default_value: Option<TypePack<'ast>>Implementations§
Source§impl GenericTypePack<'_>
impl GenericTypePack<'_>
pub fn visit<V: AstVisitor>(&self, visitor: &mut V)
Trait Implementations§
Source§impl<'ast> Debug for GenericTypePack<'ast>
impl<'ast> Debug for GenericTypePack<'ast>
Source§impl<'ast> PartialEq for GenericTypePack<'ast>
impl<'ast> PartialEq for GenericTypePack<'ast>
impl<'ast> StructuralPartialEq for GenericTypePack<'ast>
Auto Trait Implementations§
impl<'ast> !Send for GenericTypePack<'ast>
impl<'ast> !Sync for GenericTypePack<'ast>
impl<'ast> Freeze for GenericTypePack<'ast>
impl<'ast> RefUnwindSafe for GenericTypePack<'ast>
impl<'ast> Unpin for GenericTypePack<'ast>
impl<'ast> UnsafeUnpin for GenericTypePack<'ast>
impl<'ast> UnwindSafe for GenericTypePack<'ast>
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