pub struct TestDescriptor {
pub name: &'static str,
pub purpose: &'static str,
pub invariant: InvariantId,
}Expand description
Description of a concrete test the generator will materialize for an invariant.
Example: an I4 descriptor can name a wire-format round-trip test and
explain the exact invariant it probes.
Fields§
§name: &'static strHierarchical test name, used as the generated file stem.
purpose: &'static strOne-line human-readable purpose for generated doc comments.
invariant: InvariantIdThe invariant this test probes.
Trait Implementations§
Source§impl Clone for TestDescriptor
impl Clone for TestDescriptor
Source§fn clone(&self) -> TestDescriptor
fn clone(&self) -> TestDescriptor
Returns a duplicate of the value. Read more
1.0.0 · 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 TestDescriptor
impl Debug for TestDescriptor
Source§impl PartialEq for TestDescriptor
impl PartialEq for TestDescriptor
impl Eq for TestDescriptor
impl StructuralPartialEq for TestDescriptor
Auto Trait Implementations§
impl Freeze for TestDescriptor
impl RefUnwindSafe for TestDescriptor
impl Send for TestDescriptor
impl Sync for TestDescriptor
impl Unpin for TestDescriptor
impl UnsafeUnpin for TestDescriptor
impl UnwindSafe for TestDescriptor
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