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