Struct jsonc_parser::ast::CommentBlock
source · [−]Expand description
Represents a comment block (ex. /* my comment */
).
Fields
range: Range
text: &'a str
Trait Implementations
sourceimpl<'a> Clone for CommentBlock<'a>
impl<'a> Clone for CommentBlock<'a>
sourcefn clone(&self) -> CommentBlock<'a>
fn clone(&self) -> CommentBlock<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for CommentBlock<'a>
impl<'a> Debug for CommentBlock<'a>
sourceimpl<'a> PartialEq<CommentBlock<'a>> for CommentBlock<'a>
impl<'a> PartialEq<CommentBlock<'a>> for CommentBlock<'a>
sourcefn eq(&self, other: &CommentBlock<'a>) -> bool
fn eq(&self, other: &CommentBlock<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CommentBlock<'a>) -> bool
fn ne(&self, other: &CommentBlock<'a>) -> bool
This method tests for !=
.
sourceimpl<'a> Ranged for CommentBlock<'a>
impl<'a> Ranged for CommentBlock<'a>
impl<'a> StructuralPartialEq for CommentBlock<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for CommentBlock<'a>
impl<'a> Send for CommentBlock<'a>
impl<'a> Sync for CommentBlock<'a>
impl<'a> Unpin for CommentBlock<'a>
impl<'a> UnwindSafe for CommentBlock<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more