pub struct ConfComment {
pub content: String,
pub span: Range<usize>,
pub is_multi_line: bool,
}Expand description
Represents a comment in the configuration.
Fields§
§content: StringThe content of the comment.
span: Range<usize>The span of the comment in the source text.
is_multi_line: boolWhether the comment is a multi-line comment.
Trait Implementations§
Source§impl Clone for ConfComment
impl Clone for ConfComment
Source§fn clone(&self) -> ConfComment
fn clone(&self) -> ConfComment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConfComment
impl RefUnwindSafe for ConfComment
impl Send for ConfComment
impl Sync for ConfComment
impl Unpin for ConfComment
impl UnwindSafe for ConfComment
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