pub struct ProfileComparison {
pub points: Vec<PointDifference>,
pub rms_m: f64,
pub max_abs_m: f64,
pub relative_rms: f64,
pub tolerance: f64,
pub within_tolerance: bool,
}Expand description
A milled profile compared with published points. See compare_profile.
Fields§
§points: Vec<PointDifference>Per-point values, in the order given.
rms_m: f64Root-mean-square depth difference, m.
max_abs_m: f64Largest absolute depth difference, m.
relative_rms: f64rms_m over the largest published depth.
tolerance: f64The tolerance applied to relative_rms.
within_tolerance: boolrelative_rms <= tolerance.
Trait Implementations§
Source§impl Clone for ProfileComparison
impl Clone for ProfileComparison
Source§fn clone(&self) -> ProfileComparison
fn clone(&self) -> ProfileComparison
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 moreSource§impl Debug for ProfileComparison
impl Debug for ProfileComparison
Source§impl PartialEq for ProfileComparison
impl PartialEq for ProfileComparison
impl StructuralPartialEq for ProfileComparison
Auto Trait Implementations§
impl Freeze for ProfileComparison
impl RefUnwindSafe for ProfileComparison
impl Send for ProfileComparison
impl Sync for ProfileComparison
impl Unpin for ProfileComparison
impl UnsafeUnpin for ProfileComparison
impl UnwindSafe for ProfileComparison
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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