pub struct MultilineBranchBody { /* private fields */ }Implementations§
Source§impl MultilineBranchBody
impl MultilineBranchBody
pub fn texts(&self) -> impl Iterator<Item = Text>
pub fn inline_logics(&self) -> impl Iterator<Item = InlineLogic>
pub fn glue_nodes(&self) -> impl Iterator<Item = GlueNode>
pub fn escapes(&self) -> impl Iterator<Item = Escape>
pub fn logic_lines(&self) -> impl Iterator<Item = LogicLine>
pub fn divert(&self) -> Option<DivertNode>
pub fn content_lines(&self) -> impl Iterator<Item = ContentLine>
pub fn choices(&self) -> impl Iterator<Item = Choice>
Trait Implementations§
Source§impl AstNode for MultilineBranchBody
impl AstNode for MultilineBranchBody
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 MultilineBranchBody
impl Clone for MultilineBranchBody
Source§fn clone(&self) -> MultilineBranchBody
fn clone(&self) -> MultilineBranchBody
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 MultilineBranchBody
impl Debug for MultilineBranchBody
Source§impl Display for MultilineBranchBody
impl Display for MultilineBranchBody
impl Eq for MultilineBranchBody
Source§impl Hash for MultilineBranchBody
impl Hash for MultilineBranchBody
Source§impl PartialEq for MultilineBranchBody
impl PartialEq for MultilineBranchBody
Source§fn eq(&self, other: &MultilineBranchBody) -> bool
fn eq(&self, other: &MultilineBranchBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MultilineBranchBody
Auto Trait Implementations§
impl !RefUnwindSafe for MultilineBranchBody
impl !Send for MultilineBranchBody
impl !Sync for MultilineBranchBody
impl !UnwindSafe for MultilineBranchBody
impl Freeze for MultilineBranchBody
impl Unpin for MultilineBranchBody
impl UnsafeUnpin for MultilineBranchBody
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