pub struct AnnotationArgs { /* private fields */ }Implementations§
Source§impl AnnotationArgs
impl AnnotationArgs
pub fn args(&self) -> impl Iterator<Item = AnnotationArg>
Trait Implementations§
Source§impl AstNode for AnnotationArgs
impl AstNode for AnnotationArgs
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true for a node with a SyntaxKind this type can wrap.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 AnnotationArgs
impl Clone for AnnotationArgs
Source§fn clone(&self) -> AnnotationArgs
fn clone(&self) -> AnnotationArgs
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 AnnotationArgs
impl Debug for AnnotationArgs
Source§impl Display for AnnotationArgs
impl Display for AnnotationArgs
impl Eq for AnnotationArgs
Source§impl Hash for AnnotationArgs
impl Hash for AnnotationArgs
Source§impl PartialEq for AnnotationArgs
impl PartialEq for AnnotationArgs
impl StructuralPartialEq for AnnotationArgs
Auto Trait Implementations§
impl !RefUnwindSafe for AnnotationArgs
impl !Send for AnnotationArgs
impl !Sync for AnnotationArgs
impl !UnwindSafe for AnnotationArgs
impl Freeze for AnnotationArgs
impl Unpin for AnnotationArgs
impl UnsafeUnpin for AnnotationArgs
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