pub struct YamlSequence { /* private fields */ }Expand description
A lossless YAML sequence.
Implementations§
Source§impl YamlSequence
impl YamlSequence
Sourcepub const fn style(&self) -> YamlCollectionStyle
pub const fn style(&self) -> YamlCollectionStyle
Returns the collection style.
Sourcepub const fn span(&self) -> &SourceSpan
pub const fn span(&self) -> &SourceSpan
Returns the collection source span.
Trait Implementations§
Source§impl Clone for YamlSequence
impl Clone for YamlSequence
Source§fn clone(&self) -> YamlSequence
fn clone(&self) -> YamlSequence
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 YamlSequence
impl Debug for YamlSequence
impl Eq for YamlSequence
Source§impl PartialEq for YamlSequence
impl PartialEq for YamlSequence
impl StructuralPartialEq for YamlSequence
Auto Trait Implementations§
impl Freeze for YamlSequence
impl RefUnwindSafe for YamlSequence
impl Send for YamlSequence
impl Sync for YamlSequence
impl Unpin for YamlSequence
impl UnsafeUnpin for YamlSequence
impl UnwindSafe for YamlSequence
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