pub struct FunctionParamList { /* private fields */ }Implementations§
Source§impl FunctionParamList
impl FunctionParamList
Sourcepub fn params(&self) -> impl Iterator<Item = Identifier>
pub fn params(&self) -> impl Iterator<Item = Identifier>
Iterator over the Identifier nodes in the param list.
Trait Implementations§
Source§impl AstNode for FunctionParamList
impl AstNode for FunctionParamList
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true if a node with the given kind can be cast to Self.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Try to cast a generic
SyntaxNode into this typed wrapper.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
Access the underlying
SyntaxNode.Source§impl Clone for FunctionParamList
impl Clone for FunctionParamList
Source§fn clone(&self) -> FunctionParamList
fn clone(&self) -> FunctionParamList
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 moreSource§impl Debug for FunctionParamList
impl Debug for FunctionParamList
Source§impl Display for FunctionParamList
impl Display for FunctionParamList
impl Eq for FunctionParamList
Source§impl Hash for FunctionParamList
impl Hash for FunctionParamList
Source§impl PartialEq for FunctionParamList
impl PartialEq for FunctionParamList
Source§fn eq(&self, other: &FunctionParamList) -> bool
fn eq(&self, other: &FunctionParamList) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FunctionParamList
Auto Trait Implementations§
impl !RefUnwindSafe for FunctionParamList
impl !Send for FunctionParamList
impl !Sync for FunctionParamList
impl !UnwindSafe for FunctionParamList
impl Freeze for FunctionParamList
impl Unpin for FunctionParamList
impl UnsafeUnpin for FunctionParamList
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