pub struct CommentLine {
pub span: Span,
pub content: ScalarParts,
}Expand description
A YAML # comment line (which may itself contain template actions).
Fields§
§span: SpanFull source range of the comment line.
content: ScalarPartsComment content split around any template holes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommentLine
impl RefUnwindSafe for CommentLine
impl Send for CommentLine
impl Sync for CommentLine
impl Unpin for CommentLine
impl UnsafeUnpin for CommentLine
impl UnwindSafe for CommentLine
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