pub struct EditOutcome {
pub ordinal: usize,
pub expect: String,
pub mode: String,
pub replacements: usize,
pub verdict: Verdict,
pub sites: Vec<Site>,
pub miss: Option<(String, NearestMiss)>,
}Expand description
One edit’s simulated outcome.
Fields§
§ordinal: usize§expect: String§mode: String§replacements: usize§verdict: Verdict§sites: Vec<Site>§miss: Option<(String, NearestMiss)>Best partial alignment when a literal block matched nothing: (path, miss).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EditOutcome
impl RefUnwindSafe for EditOutcome
impl Send for EditOutcome
impl Sync for EditOutcome
impl Unpin for EditOutcome
impl UnsafeUnpin for EditOutcome
impl UnwindSafe for EditOutcome
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