pub struct RepairReport {
pub before: ValidationReport,
pub healing: HealingReport,
pub after: ValidationReport,
}Expand description
Combined result of repair_solid: validation before, healing, validation after.
Fields§
§before: ValidationReportValidation issues found before healing.
healing: HealingReportHealing actions performed.
after: ValidationReportValidation issues remaining after healing.
Implementations§
Source§impl RepairReport
impl RepairReport
Sourcepub fn is_valid_after(&self) -> bool
pub fn is_valid_after(&self) -> bool
Whether the solid is valid after repair (no remaining errors).
Sourcepub fn total_repairs(&self) -> usize
pub fn total_repairs(&self) -> usize
Total number of repairs performed.
Trait Implementations§
Source§impl Clone for RepairReport
impl Clone for RepairReport
Source§fn clone(&self) -> RepairReport
fn clone(&self) -> RepairReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RepairReport
impl RefUnwindSafe for RepairReport
impl Send for RepairReport
impl Sync for RepairReport
impl Unpin for RepairReport
impl UnsafeUnpin for RepairReport
impl UnwindSafe for RepairReport
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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