pub struct PrefixExpr(/* private fields */);Expand description
op e.
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
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 PrefixExpr
impl Clone for PrefixExpr
Source§impl Debug for PrefixExpr
impl Debug for PrefixExpr
impl Eq for PrefixExpr
Source§impl Hash for PrefixExpr
impl Hash for PrefixExpr
Source§impl PartialEq for PrefixExpr
impl PartialEq for PrefixExpr
impl StructuralPartialEq for PrefixExpr
Auto Trait Implementations§
impl !RefUnwindSafe for PrefixExpr
impl !Send for PrefixExpr
impl !Sync for PrefixExpr
impl !UnwindSafe for PrefixExpr
impl Forget for PrefixExpr
impl Freeze for PrefixExpr
impl Move 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