Struct ra_syntax::ast::TypeParamList
source · pub struct TypeParamList<'a> { /* private fields */ }
Implementations
sourceimpl<'a> TypeParamList<'a>
impl<'a> TypeParamList<'a>
pub fn type_params(self) -> impl Iterator<Item = TypeParam<'a>> + 'a
pub fn lifetime_params(self) -> impl Iterator<Item = LifetimeParam<'a>> + 'a
Trait Implementations
sourceimpl<'a> AstNode<'a> for TypeParamList<'a>
impl<'a> AstNode<'a> for TypeParamList<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
sourceimpl<'a> Clone for TypeParamList<'a>
impl<'a> Clone for TypeParamList<'a>
sourcefn clone(&self) -> TypeParamList<'a>
fn clone(&self) -> TypeParamList<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for TypeParamList<'a>
impl<'a> Debug for TypeParamList<'a>
sourceimpl<'a> From<TypeParamList<'a>> for TypeParamListNode
impl<'a> From<TypeParamList<'a>> for TypeParamListNode
sourcefn from(ast: TypeParamList<'a>) -> TypeParamListNode
fn from(ast: TypeParamList<'a>) -> TypeParamListNode
Converts to this type from the input type.
impl<'a> Copy for TypeParamList<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for TypeParamList<'a>
impl<'a> Send for TypeParamList<'a>
impl<'a> Sync for TypeParamList<'a>
impl<'a> Unpin for TypeParamList<'a>
impl<'a> !UnwindSafe for TypeParamList<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more