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