pub struct StateMutation {
pub target: String,
pub mutation_type: String,
pub context: String,
pub file_path: String,
pub line: usize,
}Expand description
A state mutation
Fields§
§target: StringThe state field being mutated
mutation_type: StringType of mutation (assign, increment, method call, etc.)
context: StringFunction/method containing this mutation
file_path: StringFile path
line: usizeLine number (0 if unknown)
Trait Implementations§
Source§impl Clone for StateMutation
impl Clone for StateMutation
Source§fn clone(&self) -> StateMutation
fn clone(&self) -> StateMutation
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 moreSource§impl Debug for StateMutation
impl Debug for StateMutation
Source§impl PartialEq for StateMutation
impl PartialEq for StateMutation
impl StructuralPartialEq for StateMutation
Auto Trait Implementations§
impl Freeze for StateMutation
impl RefUnwindSafe for StateMutation
impl Send for StateMutation
impl Sync for StateMutation
impl Unpin for StateMutation
impl UnwindSafe for StateMutation
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