pub struct DivertStmt { /* private fields */ }Implementations§
Source§impl DivertStmt
impl DivertStmt
pub fn target(&self) -> Option<DivertTarget>
Trait Implementations§
Source§impl AstNode for DivertStmt
impl AstNode for DivertStmt
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true for a node with a SyntaxKind this type can wrap.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 DivertStmt
impl Clone for DivertStmt
Source§fn clone(&self) -> DivertStmt
fn clone(&self) -> DivertStmt
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 DivertStmt
impl Debug for DivertStmt
Source§impl Display for DivertStmt
impl Display for DivertStmt
impl Eq for DivertStmt
Source§impl Hash for DivertStmt
impl Hash for DivertStmt
Source§impl PartialEq for DivertStmt
impl PartialEq for DivertStmt
impl StructuralPartialEq for DivertStmt
Auto Trait Implementations§
impl !RefUnwindSafe for DivertStmt
impl !Send for DivertStmt
impl !Sync for DivertStmt
impl !UnwindSafe for DivertStmt
impl Freeze for DivertStmt
impl Unpin for DivertStmt
impl UnsafeUnpin for DivertStmt
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