pub struct TypePack<'ast> { /* private fields */ }Implementations§
Source§impl<'ast> TypePack<'ast>
impl<'ast> TypePack<'ast>
pub fn as_ptr(self) -> *const ()
pub fn location(self) -> Location
pub fn kind(&self) -> TypePackKind<'ast>
pub fn explicit_type_list(&self) -> Option<TypeList<'ast>>
pub fn visit<V: AstVisitor>(self, visitor: &mut V)
pub fn as_explicit(self) -> Option<&'ast TypePackExplicitNode<'ast>>
pub fn as_variadic(self) -> Option<&'ast TypePackVariadicNode<'ast>>
pub fn as_generic(self) -> Option<&'ast TypePackGenericNode<'ast>>
Trait Implementations§
impl<'ast> Copy for TypePack<'ast>
Auto Trait Implementations§
impl<'ast> !Send for TypePack<'ast>
impl<'ast> !Sync for TypePack<'ast>
impl<'ast> Freeze for TypePack<'ast>
impl<'ast> RefUnwindSafe for TypePack<'ast>
impl<'ast> Unpin for TypePack<'ast>
impl<'ast> UnsafeUnpin for TypePack<'ast>
impl<'ast> UnwindSafe for TypePack<'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