pub enum TypePackKind<'ast> {
Explicit {
type_list: TypeList<'ast>,
},
Variadic {
variadic_type: Type<'ast>,
},
Generic {
generic_name: AstName<'ast>,
},
}Variants§
Trait Implementations§
Source§impl<'ast> Clone for TypePackKind<'ast>
impl<'ast> Clone for TypePackKind<'ast>
Source§fn clone(&self) -> TypePackKind<'ast>
fn clone(&self) -> TypePackKind<'ast>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'ast> Copy for TypePackKind<'ast>
Source§impl<'ast> Debug for TypePackKind<'ast>
impl<'ast> Debug for TypePackKind<'ast>
Source§impl<'ast> PartialEq for TypePackKind<'ast>
impl<'ast> PartialEq for TypePackKind<'ast>
impl<'ast> StructuralPartialEq for TypePackKind<'ast>
Auto Trait Implementations§
impl<'ast> !Send for TypePackKind<'ast>
impl<'ast> !Sync for TypePackKind<'ast>
impl<'ast> Freeze for TypePackKind<'ast>
impl<'ast> RefUnwindSafe for TypePackKind<'ast>
impl<'ast> Unpin for TypePackKind<'ast>
impl<'ast> UnsafeUnpin for TypePackKind<'ast>
impl<'ast> UnwindSafe for TypePackKind<'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