pub struct ExactProfileValidator;Expand description
Validates a profile on the arc ring the exact path lowers it to.
See the module documentation for what is decided and what is refused.
Implementations§
Source§impl ExactProfileValidator
impl ExactProfileValidator
Sourcepub fn validate_with(
&self,
profile: &Profile,
tolerance: Tolerance,
options: ArcCheckOptions,
) -> ProfileReport
pub fn validate_with( &self, profile: &Profile, tolerance: Tolerance, options: ArcCheckOptions, ) -> ProfileReport
ValidateProfile::validate with options: the default options are
exactly validate; ArcCheckOptions::with_clearance adds
ProfileFinding::Clearance for segments closer than the distance.
Sourcepub fn validate_contours_with(
&self,
profile: &ContourProfile,
tolerance: Tolerance,
options: ArcCheckOptions,
) -> ProfileReport
pub fn validate_contours_with( &self, profile: &ContourProfile, tolerance: Tolerance, options: ArcCheckOptions, ) -> ProfileReport
Trait Implementations§
Source§impl Clone for ExactProfileValidator
impl Clone for ExactProfileValidator
Source§fn clone(&self) -> ExactProfileValidator
fn clone(&self) -> ExactProfileValidator
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 moreimpl Copy for ExactProfileValidator
Source§impl Debug for ExactProfileValidator
impl Debug for ExactProfileValidator
Source§impl Default for ExactProfileValidator
impl Default for ExactProfileValidator
Source§fn default() -> ExactProfileValidator
fn default() -> ExactProfileValidator
Returns the “default value” for a type. Read more
impl Eq for ExactProfileValidator
Source§impl PartialEq for ExactProfileValidator
impl PartialEq for ExactProfileValidator
impl StructuralPartialEq for ExactProfileValidator
Source§impl ValidateProfile<ContourProfile> for ExactProfileValidator
impl ValidateProfile<ContourProfile> for ExactProfileValidator
Source§type Report = ProfileReport
type Report = ProfileReport
Structured validation report.
Source§fn validate(
&self,
profile: &ContourProfile,
tolerance: Tolerance,
) -> ProfileReport
fn validate( &self, profile: &ContourProfile, tolerance: Tolerance, ) -> ProfileReport
Diagnose closure, dimensions, self-intersection, and nesting.
Source§impl ValidateProfile<Profile> for ExactProfileValidator
impl ValidateProfile<Profile> for ExactProfileValidator
Source§type Report = ProfileReport
type Report = ProfileReport
Structured validation report.
Auto Trait Implementations§
impl Freeze for ExactProfileValidator
impl RefUnwindSafe for ExactProfileValidator
impl Send for ExactProfileValidator
impl Sync for ExactProfileValidator
impl Unpin for ExactProfileValidator
impl UnsafeUnpin for ExactProfileValidator
impl UnwindSafe for ExactProfileValidator
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