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