pub struct MutationBatch {
pub mutations: Vec<Box<dyn Mutation>>,
}Expand description
A collection of mutations to apply
Fields§
§mutations: Vec<Box<dyn Mutation>>Implementations§
Source§impl MutationBatch
impl MutationBatch
pub fn new() -> Self
pub fn with_mutation<M: Mutation + 'static>(self, mutation: M) -> Self
Trait Implementations§
Source§impl Debug for MutationBatch
impl Debug for MutationBatch
Auto Trait Implementations§
impl Freeze for MutationBatch
impl !RefUnwindSafe for MutationBatch
impl Send for MutationBatch
impl Sync for MutationBatch
impl Unpin for MutationBatch
impl UnsafeUnpin for MutationBatch
impl !UnwindSafe for MutationBatch
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