pub struct EditRegion {
pub start: usize,
pub end: usize,
pub kind: EditRegionKind,
}Expand description
Represents a single editable region in the source for mutation testing.
Fields§
§start: usizeByte offset start
end: usizeByte offset end
kind: EditRegionKindThe kind of region
Trait Implementations§
Source§impl Clone for EditRegion
impl Clone for EditRegion
Source§fn clone(&self) -> EditRegion
fn clone(&self) -> EditRegion
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 EditRegion
impl RefUnwindSafe for EditRegion
impl Send for EditRegion
impl Sync for EditRegion
impl Unpin for EditRegion
impl UnsafeUnpin for EditRegion
impl UnwindSafe for EditRegion
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