pub struct CommentMetadata {
pub content: String,
pub start_pos: usize,
pub end_pos: usize,
pub line: usize,
pub column: usize,
}Fields§
§content: String§start_pos: usize§end_pos: usize§line: usize§column: usizeTrait Implementations§
Source§impl Clone for CommentMetadata
impl Clone for CommentMetadata
Source§fn clone(&self) -> CommentMetadata
fn clone(&self) -> CommentMetadata
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 CommentMetadata
impl RefUnwindSafe for CommentMetadata
impl Send for CommentMetadata
impl Sync for CommentMetadata
impl Unpin for CommentMetadata
impl UnwindSafe for CommentMetadata
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