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