pub struct ApiCompatibilityTester { /* private fields */ }Expand description
Comprehensive API compatibility tester
Implementations§
Source§impl ApiCompatibilityTester
impl ApiCompatibilityTester
Sourcepub fn new() -> ApiCompatibilityTester
pub fn new() -> ApiCompatibilityTester
Create a new compatibility tester
Sourcepub fn with_config(config: CompatibilityConfig) -> ApiCompatibilityTester
pub fn with_config(config: CompatibilityConfig) -> ApiCompatibilityTester
Create a new compatibility tester with custom configuration
Sourcepub fn test_filter_apis(&mut self) -> Result<(), Box<dyn Error>>
pub fn test_filter_apis(&mut self) -> Result<(), Box<dyn Error>>
Test all filter function APIs for compatibility
Sourcepub fn test_morphology_apis(&mut self) -> Result<(), Box<dyn Error>>
pub fn test_morphology_apis(&mut self) -> Result<(), Box<dyn Error>>
Test morphological operation APIs
Sourcepub fn test_interpolation_apis(&mut self) -> Result<(), Box<dyn Error>>
pub fn test_interpolation_apis(&mut self) -> Result<(), Box<dyn Error>>
Test interpolation function APIs
Sourcepub fn test_measurement_apis(&mut self) -> Result<(), Box<dyn Error>>
pub fn test_measurement_apis(&mut self) -> Result<(), Box<dyn Error>>
Test measurement function APIs
Sourcepub fn generate_report(&self) -> String
pub fn generate_report(&self) -> String
Generate compatibility report
Sourcepub fn get_results(&self) -> &[ApiCompatibilityResult]
pub fn get_results(&self) -> &[ApiCompatibilityResult]
Get test results
Sourcepub fn get_overall_score(&self) -> f64
pub fn get_overall_score(&self) -> f64
Get overall compatibility score
Auto Trait Implementations§
impl Freeze for ApiCompatibilityTester
impl RefUnwindSafe for ApiCompatibilityTester
impl Send for ApiCompatibilityTester
impl Sync for ApiCompatibilityTester
impl Unpin for ApiCompatibilityTester
impl UnsafeUnpin for ApiCompatibilityTester
impl UnwindSafe for ApiCompatibilityTester
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> 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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.