pub struct Insertion {
pub module: String,
pub label: String,
pub kind: StopKind,
pub line: u32,
pub col: u32,
pub byte: usize,
pub id: String,
pub text: String,
}Expand description
One addition.
Fields§
§module: StringThe name of the module.
label: StringThe name of the label it belongs to.
kind: StopKindThe kind of line.
line: u32The line of the position (1-based).
col: u32The column of the position (1-based).
byte: usizeThe byte offset of the position (from the start of the original source, including the BOM).
id: StringThe ID to add (without #).
text: StringThe text to append (including surrounding spaces).
Trait Implementations§
impl Eq for Insertion
impl StructuralPartialEq for Insertion
Auto Trait Implementations§
impl Forget for Insertion
impl Freeze for Insertion
impl Move for Insertion
impl RefUnwindSafe for Insertion
impl Send for Insertion
impl Sync for Insertion
impl Unpin for Insertion
impl UnsafeUnpin for Insertion
impl UnwindSafe for Insertion
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