pub struct VariableDecl(/* private fields */);Expand description
VARIABLE(S) x, y.
Implementations§
Trait Implementations§
Source§impl AstNode for VariableDecl
impl AstNode for VariableDecl
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.
Source§impl Clone for VariableDecl
impl Clone for VariableDecl
Source§impl Debug for VariableDecl
impl Debug for VariableDecl
impl Eq for VariableDecl
Source§impl Hash for VariableDecl
impl Hash for VariableDecl
Source§impl PartialEq for VariableDecl
impl PartialEq for VariableDecl
impl StructuralPartialEq for VariableDecl
Auto Trait Implementations§
impl !RefUnwindSafe for VariableDecl
impl !Send for VariableDecl
impl !Sync for VariableDecl
impl !UnwindSafe for VariableDecl
impl Forget for VariableDecl
impl Freeze for VariableDecl
impl Move for VariableDecl
impl Unpin for VariableDecl
impl UnsafeUnpin for VariableDecl
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