pub struct CommentLine {
pub line_number: usize,
pub text: String,
}Expand description
A single comment line with (line_number, entire_comment_text).
Fields§
§line_number: usize§text: StringTrait Implementations§
Source§impl Clone for CommentLine
impl Clone for CommentLine
Source§fn clone(&self) -> CommentLine
fn clone(&self) -> CommentLine
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 CommentLine
impl RefUnwindSafe for CommentLine
impl Send for CommentLine
impl Sync for CommentLine
impl Unpin for CommentLine
impl UnwindSafe for CommentLine
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