pub struct EditSpec {
pub ordinal: usize,
pub line: usize,
pub expect: Expect,
pub expect_label: String,
pub mode_label: String,
pub op: Op,
pub file: Option<String>,
}Expand description
One edit from the script, compiled and ready to run.
Fields§
§ordinal: usize1-based position in the script.
line: usize1-based script line of the opening edit directive.
expect: Expect§expect_label: String§mode_label: String§op: Op§file: Option<String>Optional file= narrowing within the invocation’s selection.
Auto Trait Implementations§
impl Freeze for EditSpec
impl RefUnwindSafe for EditSpec
impl Send for EditSpec
impl Sync for EditSpec
impl Unpin for EditSpec
impl UnsafeUnpin for EditSpec
impl UnwindSafe for EditSpec
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