Enum jsonc_parser::ast::Comment [−][src]
pub enum Comment<'a> {
Line(CommentLine<'a>),
Block(CommentBlock<'a>),
}
Expand description
JSONC comment.
Variants
Line(CommentLine<'a>)
Tuple Fields
0: CommentLine<'a>
Block(CommentBlock<'a>)
Tuple Fields
0: CommentBlock<'a>
Implementations
Trait Implementations
Gets the line number of the start position in the text.
Gets the start byte 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