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