Struct ra_ap_syntax::ast::GenericArgList
source · [−]pub struct GenericArgList { /* private fields */ }
Implementations
sourceimpl GenericArgList
impl GenericArgList
pub fn coloncolon_token(&self) -> Option<SyntaxToken>
pub fn l_angle_token(&self) -> Option<SyntaxToken>
pub fn generic_args(&self) -> AstChildren<GenericArg>ⓘNotable traits for AstChildren<N>impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
pub fn r_angle_token(&self) -> Option<SyntaxToken>
sourceimpl GenericArgList
impl GenericArgList
pub fn lifetime_args(&self) -> impl Iterator<Item = LifetimeArg>
Trait Implementations
sourceimpl AstNode for GenericArgList
impl AstNode for GenericArgList
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
sourceimpl Clone for GenericArgList
impl Clone for GenericArgList
sourcefn clone(&self) -> GenericArgList
fn clone(&self) -> GenericArgList
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GenericArgList
impl Debug for GenericArgList
sourceimpl Display for GenericArgList
impl Display for GenericArgList
sourceimpl Hash for GenericArgList
impl Hash for GenericArgList
sourceimpl PartialEq<GenericArgList> for GenericArgList
impl PartialEq<GenericArgList> for GenericArgList
sourcefn eq(&self, other: &GenericArgList) -> bool
fn eq(&self, other: &GenericArgList) -> bool
impl Eq for GenericArgList
impl StructuralEq for GenericArgList
impl StructuralPartialEq for GenericArgList
Auto Trait Implementations
impl !RefUnwindSafe for GenericArgList
impl !Send for GenericArgList
impl !Sync for GenericArgList
impl Unpin for GenericArgList
impl !UnwindSafe for GenericArgList
Blanket Implementations
sourceimpl<N> AstNodeEdit for Nwhere
N: AstNode + Clone,
impl<N> AstNodeEdit for Nwhere
N: AstNode + Clone,
fn indent_level(&self) -> IndentLevel
fn indent(&self, level: IndentLevel) -> Self
fn dedent(&self, level: IndentLevel) -> Self
fn reset_indent(&self) -> Self
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.