pub enum ProblemDetails {
PathCount {
count_1: usize,
count_2: usize,
},
NodeCount {
count_1: usize,
count_2: usize,
},
NodeIncompatibility {
is_control_1: bool,
is_control_2: bool,
},
ContourOrder {
order_1: Vec<usize>,
order_2: Vec<usize>,
},
WrongStartPoint {
proposed_point: usize,
reverse: bool,
},
Overweight {
value_1: f64,
value_2: f64,
},
Underweight {
value_1: f64,
value_2: f64,
},
Kink,
}Expand description
The particular problem found
Variants§
PathCount
The number of paths in the two masters is different.
Fields
NodeCount
The number of nodes in the two masters is different.
Fields
NodeIncompatibility
The nodes in the two masters are incompatible.
Fields
ContourOrder
The order of the contours in the two masters is different.
Fields
WrongStartPoint
The start point of the contour in the two masters is different.
Fields
Overweight
The contour in the second master overweight compared to the first master.
Fields
Underweight
The contour in the second master underweight compared to the first master.
Fields
Kink
The contour in the second master has a kink compared to the first master.
Trait Implementations§
Source§impl Debug for ProblemDetails
impl Debug for ProblemDetails
Auto Trait Implementations§
impl Freeze for ProblemDetails
impl RefUnwindSafe for ProblemDetails
impl Send for ProblemDetails
impl Sync for ProblemDetails
impl Unpin for ProblemDetails
impl UnwindSafe for ProblemDetails
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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> 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