pub struct StepComment {
pub line: usize,
pub col_start: usize,
pub col_end: usize,
pub indent: usize,
pub number: Vec<u32>,
pub text: String,
pub end_line: Option<usize>,
}Expand description
A step comment found in source code.
Fields§
§line: usize§col_start: usize§col_end: usize§indent: usize§number: Vec<u32>§text: String§end_line: Option<usize>Last line for multi-line comments (None = same as line)
Trait Implementations§
Source§impl Clone for StepComment
impl Clone for StepComment
Source§fn clone(&self) -> StepComment
fn clone(&self) -> StepComment
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 StepComment
impl RefUnwindSafe for StepComment
impl Send for StepComment
impl Sync for StepComment
impl Unpin for StepComment
impl UnsafeUnpin for StepComment
impl UnwindSafe for StepComment
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