pub struct SequenceWithAnnotation { /* private fields */ }Implementations§
Source§impl SequenceWithAnnotation
impl SequenceWithAnnotation
pub fn symbol_annotation(&self) -> Option<SequenceSymbolAnnotation>
pub fn word_annotation(&self) -> Option<SequenceWordAnnotation>
pub fn inline_branches(&self) -> Option<InlineBranchesSeq>
pub fn multiline_branches(&self) -> Option<MultilineBranchesSeq>
Trait Implementations§
Source§impl AstNode for SequenceWithAnnotation
impl AstNode for SequenceWithAnnotation
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 SequenceWithAnnotation
impl Clone for SequenceWithAnnotation
Source§fn clone(&self) -> SequenceWithAnnotation
fn clone(&self) -> SequenceWithAnnotation
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 SequenceWithAnnotation
impl Debug for SequenceWithAnnotation
Source§impl Display for SequenceWithAnnotation
impl Display for SequenceWithAnnotation
impl Eq for SequenceWithAnnotation
Source§impl Hash for SequenceWithAnnotation
impl Hash for SequenceWithAnnotation
Source§impl PartialEq for SequenceWithAnnotation
impl PartialEq for SequenceWithAnnotation
Source§fn eq(&self, other: &SequenceWithAnnotation) -> bool
fn eq(&self, other: &SequenceWithAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SequenceWithAnnotation
Auto Trait Implementations§
impl !RefUnwindSafe for SequenceWithAnnotation
impl !Send for SequenceWithAnnotation
impl !Sync for SequenceWithAnnotation
impl !UnwindSafe for SequenceWithAnnotation
impl Freeze for SequenceWithAnnotation
impl Unpin for SequenceWithAnnotation
impl UnsafeUnpin for SequenceWithAnnotation
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