pub struct LabelExpr(/* private fields */);Expand description
lab :: e.
Implementations§
Trait Implementations§
Source§impl AstNode for LabelExpr
impl AstNode for LabelExpr
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 LabelExpr
impl StructuralPartialEq for LabelExpr
Auto Trait Implementations§
impl !RefUnwindSafe for LabelExpr
impl !Send for LabelExpr
impl !Sync for LabelExpr
impl !UnwindSafe for LabelExpr
impl Forget for LabelExpr
impl Freeze for LabelExpr
impl Move for LabelExpr
impl Unpin for LabelExpr
impl UnsafeUnpin for LabelExpr
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