pub struct BlueprintBuilder { /* private fields */ }Expand description
Builder for creating ParallelBlueprint
Implementations§
Source§impl BlueprintBuilder
impl BlueprintBuilder
pub fn new() -> Self
Sourcepub fn add(&mut self, spec: MutationSpec) -> &mut Self
pub fn add(&mut self, spec: MutationSpec) -> &mut Self
Add a mutation spec
Sourcepub fn add_dependency(&mut self, from: usize, to: usize) -> &mut Self
pub fn add_dependency(&mut self, from: usize, to: usize) -> &mut Self
Add dependency between mutations
Sourcepub fn build(self) -> ParallelBlueprint
pub fn build(self) -> ParallelBlueprint
Build the blueprint with conflict detection
Trait Implementations§
Source§impl Debug for BlueprintBuilder
impl Debug for BlueprintBuilder
Source§impl Default for BlueprintBuilder
impl Default for BlueprintBuilder
Source§fn default() -> BlueprintBuilder
fn default() -> BlueprintBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BlueprintBuilder
impl RefUnwindSafe for BlueprintBuilder
impl Send for BlueprintBuilder
impl Sync for BlueprintBuilder
impl Unpin for BlueprintBuilder
impl UnsafeUnpin for BlueprintBuilder
impl UnwindSafe for BlueprintBuilder
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more