pub struct PatchGenerator;Expand description
Data structure representing patch generator.
Implementations§
Source§impl PatchGenerator
impl PatchGenerator
Sourcepub fn generate(traj: &Trajectory, abstraction_summary: &str) -> CognitivePatch
pub fn generate(traj: &Trajectory, abstraction_summary: &str) -> CognitivePatch
Performs generate for this type.
Sourcepub fn generate_with_context(
traj: &Trajectory,
abstraction_summary: &str,
ctx: &PatchContext,
) -> CognitivePatch
pub fn generate_with_context( traj: &Trajectory, abstraction_summary: &str, ctx: &PatchContext, ) -> CognitivePatch
Performs generate with context for this type.
Auto Trait Implementations§
impl Forget for PatchGenerator
impl Freeze for PatchGenerator
impl Move for PatchGenerator
impl RefUnwindSafe for PatchGenerator
impl Send for PatchGenerator
impl Sync for PatchGenerator
impl Unpin for PatchGenerator
impl UnsafeUnpin for PatchGenerator
impl UnwindSafe for PatchGenerator
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