pub struct IdentDecl(/* private fields */);Expand description
A declared constant or parameter c or F(_, _).
Implementations§
Trait Implementations§
Source§impl AstNode for IdentDecl
impl AstNode for IdentDecl
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Whether nodes of
kind can be wrapped.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Wraps
node if it has the right kind.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying node.
impl Eq for IdentDecl
impl StructuralPartialEq for IdentDecl
Auto Trait Implementations§
impl !RefUnwindSafe for IdentDecl
impl !Send for IdentDecl
impl !Sync for IdentDecl
impl !UnwindSafe for IdentDecl
impl Forget for IdentDecl
impl Freeze for IdentDecl
impl Move for IdentDecl
impl Unpin for IdentDecl
impl UnsafeUnpin for IdentDecl
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