pub struct YamlFlowSequence(/* private fields */);Expand description
A flow sequence ([a, b, c]).
Implementations§
Source§impl YamlFlowSequence
impl YamlFlowSequence
pub fn items(&self) -> AstChildren<YamlFlowSequenceItem> ⓘ
Sourcepub fn content_range(&self) -> TextRange
pub fn content_range(&self) -> TextRange
The node’s range trimmed of trailing trivia (see [content_text_range]).
Trait Implementations§
Source§impl AstNode for YamlFlowSequence
impl AstNode for YamlFlowSequence
type Language = PanacheLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for YamlFlowSequence
impl Clone for YamlFlowSequence
Source§fn clone(&self) -> YamlFlowSequence
fn clone(&self) -> YamlFlowSequence
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 YamlFlowSequence
impl Debug for YamlFlowSequence
impl Eq for YamlFlowSequence
Source§impl Hash for YamlFlowSequence
impl Hash for YamlFlowSequence
Source§impl PartialEq for YamlFlowSequence
impl PartialEq for YamlFlowSequence
Source§fn eq(&self, other: &YamlFlowSequence) -> bool
fn eq(&self, other: &YamlFlowSequence) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for YamlFlowSequence
Auto Trait Implementations§
impl !RefUnwindSafe for YamlFlowSequence
impl !Send for YamlFlowSequence
impl !Sync for YamlFlowSequence
impl !UnwindSafe for YamlFlowSequence
impl Freeze for YamlFlowSequence
impl Unpin for YamlFlowSequence
impl UnsafeUnpin for YamlFlowSequence
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