pub struct BezierFitCertificate { /* private fields */ }Expand description
Certificate attached to a zero-error Bezier primitive fit.
Implementations§
Source§impl BezierFitCertificate
impl BezierFitCertificate
Sourcepub const fn source_start(&self) -> usize
pub const fn source_start(&self) -> usize
Returns the half-open start index of the fitted source range.
Sourcepub const fn source_end(&self) -> usize
pub const fn source_end(&self) -> usize
Returns the half-open end index of the fitted source range.
Sourcepub const fn fit_error_bound(&self) -> &Real
pub const fn fit_error_bound(&self) -> &Real
Returns the proven fit-error bound.
Sourcepub const fn source_flattening_error(&self) -> Option<&Real>
pub const fn source_flattening_error(&self) -> Option<&Real>
Returns the source curve-to-polyline flattening error, when applicable.
Sourcepub const fn source_flattening_max_depth(&self) -> Option<usize>
pub const fn source_flattening_max_depth(&self) -> Option<usize>
Returns the source flattening recursion budget, when applicable.
Sourcepub const fn construction_policy(&self) -> &CurvePolicy
pub const fn construction_policy(&self) -> &CurvePolicy
Returns the policy used to prove this fit.
Sourcepub const fn metric(&self) -> BezierFitErrorMetric
pub const fn metric(&self) -> BezierFitErrorMetric
Returns the error metric certified by this fit.
Sourcepub const fn bound_kind(&self) -> BezierFitBoundKind
pub const fn bound_kind(&self) -> BezierFitBoundKind
Returns whether the fit bound is proven exactly.
Trait Implementations§
Source§impl Clone for BezierFitCertificate
impl Clone for BezierFitCertificate
Source§fn clone(&self) -> BezierFitCertificate
fn clone(&self) -> BezierFitCertificate
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 BezierFitCertificate
impl Debug for BezierFitCertificate
Source§impl PartialEq for BezierFitCertificate
impl PartialEq for BezierFitCertificate
Source§fn eq(&self, other: &BezierFitCertificate) -> bool
fn eq(&self, other: &BezierFitCertificate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BezierFitCertificate
Auto Trait Implementations§
impl !Freeze for BezierFitCertificate
impl !RefUnwindSafe for BezierFitCertificate
impl !Sync for BezierFitCertificate
impl Send for BezierFitCertificate
impl Unpin for BezierFitCertificate
impl UnsafeUnpin for BezierFitCertificate
impl UnwindSafe for BezierFitCertificate
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