pub struct Gather { /* private fields */ }Implementations§
Source§impl Gather
impl Gather
pub fn dashes(&self) -> Option<GatherDashes>
pub fn label(&self) -> Option<Label>
pub fn mixed_content(&self) -> Option<MixedContent>
Sourcepub fn choice(&self) -> Option<Choice>
pub fn choice(&self) -> Option<Choice>
Inline choice on the same line as the gather (e.g. - * hello).
pub fn divert(&self) -> Option<DivertNode>
Trait Implementations§
Source§impl AstNode for Gather
impl AstNode for Gather
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.impl Eq for Gather
impl StructuralPartialEq for Gather
Auto Trait Implementations§
impl !RefUnwindSafe for Gather
impl !Send for Gather
impl !Sync for Gather
impl !UnwindSafe for Gather
impl Freeze for Gather
impl Unpin for Gather
impl UnsafeUnpin for Gather
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