pub struct CommentInfo {
pub text: String,
pub start_line: usize,
pub start_col: usize,
pub end_line: usize,
pub end_col: usize,
pub start_byte: usize,
pub end_byte: usize,
pub kind: CommentKind,
}Fields§
§text: String§start_line: usize§start_col: usize§end_line: usize§end_col: usize§start_byte: usize§end_byte: usize§kind: CommentKindTrait Implementations§
Source§impl Clone for CommentInfo
impl Clone for CommentInfo
Source§fn clone(&self) -> CommentInfo
fn clone(&self) -> CommentInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommentInfo
impl RefUnwindSafe for CommentInfo
impl Send for CommentInfo
impl Sync for CommentInfo
impl Unpin for CommentInfo
impl UnsafeUnpin for CommentInfo
impl UnwindSafe for CommentInfo
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