pub struct ScalarLine {
pub span: Span,
pub indent: usize,
pub content: ScalarParts,
}Expand description
A plain scalar content line that is not a mapping entry or sequence item:
flow-collection continuations, --- markers, malformed keys, and other
text the layout keeps only for its popping effect.
Fields§
§span: SpanFull source range of the scalar line.
indent: usizeYAML indentation column.
content: ScalarPartsScalar content split around any template holes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScalarLine
impl RefUnwindSafe for ScalarLine
impl Send for ScalarLine
impl Sync for ScalarLine
impl Unpin for ScalarLine
impl UnsafeUnpin for ScalarLine
impl UnwindSafe for ScalarLine
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