pub struct Problem {
pub master_1_name: String,
pub master_2_name: String,
pub master_1_index: usize,
pub master_2_index: usize,
pub details: ProblemDetails,
pub tolerance: Option<f64>,
pub contour: Option<usize>,
pub node: Option<usize>,
}Expand description
An interpolation problem between two masters.
Fields§
§master_1_name: StringThe name of the first master.
master_2_name: StringThe name of the second master.
master_1_index: usizeThe index of the first master.
master_2_index: usizeThe index of the second master.
details: ProblemDetailsDescribes the problem in detail.
tolerance: Option<f64>The tolerance for the problem, if applicable.
contour: Option<usize>The index of the contour in the glyph, if applicable.
node: Option<usize>The index of the node in the contour, if applicable.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Problem
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnwindSafe for Problem
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