Enum jsonc_parser::ast::Comment
source · [−]pub enum Comment<'a> {
Line(CommentLine<'a>),
Block(CommentBlock<'a>),
}
Expand description
JSONC comment.
Variants
Line(CommentLine<'a>)
Block(CommentBlock<'a>)
Implementations
Trait Implementations
Gets the line number of the start position in the text.
Gets the start position.
Gets the end byte position.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Comment<'a>
impl<'a> UnwindSafe for Comment<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more