Trait ValidateProfile

Source
pub trait ValidateProfile<P> {
    type Report: Debug;

    // Required method
    fn validate(&self, profile: &P, tolerance: Tolerance) -> Self::Report;
}
Expand description

Validate a profile without mutating it.

Required Associated Types§

Source

type Report: Debug

Structured validation report.

Required Methods§

Source

fn validate(&self, profile: &P, tolerance: Tolerance) -> Self::Report

Diagnose closure, dimensions, self-intersection, and nesting.

Implementors§