pub struct ElseClause { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AstNode for ElseClause
impl AstNode for ElseClause
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 ElseClause
impl Clone for ElseClause
Source§fn clone(&self) -> ElseClause
fn clone(&self) -> ElseClause
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 ElseClause
impl Debug for ElseClause
Source§impl Display for ElseClause
impl Display for ElseClause
impl Eq for ElseClause
Source§impl Hash for ElseClause
impl Hash for ElseClause
Source§impl PartialEq for ElseClause
impl PartialEq for ElseClause
impl StructuralPartialEq for ElseClause
Auto Trait Implementations§
impl !RefUnwindSafe for ElseClause
impl !Send for ElseClause
impl !Sync for ElseClause
impl !UnwindSafe for ElseClause
impl Freeze for ElseClause
impl Unpin for ElseClause
impl UnsafeUnpin for ElseClause
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