pub struct ConformanceSuite { /* private fields */ }Expand description
Opt-in set of conformance levels an application wants to exercise.
Implementations§
Source§impl ConformanceSuite
impl ConformanceSuite
Sourcepub fn require(self, level: ConformanceLevel) -> Self
pub fn require(self, level: ConformanceLevel) -> Self
Adds a required level to this suite.
Sourcepub fn required_levels(&self) -> &BTreeSet<ConformanceLevel>
pub fn required_levels(&self) -> &BTreeSet<ConformanceLevel>
Returns required levels.
Sourcepub fn report(&self, supported: &[ConformanceLevel]) -> ConformanceReport
pub fn report(&self, supported: &[ConformanceLevel]) -> ConformanceReport
Builds a report, marking required but unsupported levels explicitly.
Sourcepub fn runner(self) -> ConformanceRunner
pub fn runner(self) -> ConformanceRunner
Creates an executable runner for this conformance suite.
Trait Implementations§
Source§impl Clone for ConformanceSuite
impl Clone for ConformanceSuite
Source§fn clone(&self) -> ConformanceSuite
fn clone(&self) -> ConformanceSuite
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 ConformanceSuite
impl Debug for ConformanceSuite
Source§impl Default for ConformanceSuite
impl Default for ConformanceSuite
impl Eq for ConformanceSuite
Source§impl PartialEq for ConformanceSuite
impl PartialEq for ConformanceSuite
Source§fn eq(&self, other: &ConformanceSuite) -> bool
fn eq(&self, other: &ConformanceSuite) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConformanceSuite
Auto Trait Implementations§
impl Freeze for ConformanceSuite
impl RefUnwindSafe for ConformanceSuite
impl Send for ConformanceSuite
impl Sync for ConformanceSuite
impl Unpin for ConformanceSuite
impl UnsafeUnpin for ConformanceSuite
impl UnwindSafe for ConformanceSuite
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