pub struct SourceMutation {
pub original: String,
pub mutated: String,
pub description: String,
}Expand description
A mutation applied to source text for round-trip testing.
Fields§
§original: StringThe original text before the mutation
mutated: StringThe mutated text
description: StringDescription of the mutation
Trait Implementations§
Source§impl Clone for SourceMutation
impl Clone for SourceMutation
Source§fn clone(&self) -> SourceMutation
fn clone(&self) -> SourceMutation
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 SourceMutation
impl RefUnwindSafe for SourceMutation
impl Send for SourceMutation
impl Sync for SourceMutation
impl Unpin for SourceMutation
impl UnsafeUnpin for SourceMutation
impl UnwindSafe for SourceMutation
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