pub struct PrefixExpr { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AstNode for PrefixExpr
impl AstNode for PrefixExpr
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 PrefixExpr
impl Clone for PrefixExpr
Source§fn clone(&self) -> PrefixExpr
fn clone(&self) -> PrefixExpr
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 PrefixExpr
impl Debug for PrefixExpr
Source§impl Display for PrefixExpr
impl Display for PrefixExpr
impl Eq for PrefixExpr
Source§impl Hash for PrefixExpr
impl Hash for PrefixExpr
Source§impl PartialEq for PrefixExpr
impl PartialEq for PrefixExpr
Source§fn eq(&self, other: &PrefixExpr) -> bool
fn eq(&self, other: &PrefixExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrefixExpr
Auto Trait Implementations§
impl !RefUnwindSafe for PrefixExpr
impl !Send for PrefixExpr
impl !Sync for PrefixExpr
impl !UnwindSafe for PrefixExpr
impl Freeze for PrefixExpr
impl Unpin for PrefixExpr
impl UnsafeUnpin for PrefixExpr
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