pub struct Suite {
pub version: String,
pub signature: QualifiedName,
pub float_tolerance: f64,
pub vectors: Vec<Vector>,
}Expand description
A set of cases for one proposition.
Fields§
§version: StringThe format version.
signature: QualifiedNameThe proposition being checked.
float_tolerance: f64How close two floats have to be to count as equal.
Zero means exactly. Anything else is an admission that two languages will not agree to the last bit, which for floating point is usually true and always worth stating rather than assuming.
vectors: Vec<Vector>The cases.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Suite
impl<'de> Deserialize<'de> for Suite
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for Suite
impl Freeze for Suite
impl Move for Suite
impl RefUnwindSafe for Suite
impl Send for Suite
impl Sync for Suite
impl Unpin for Suite
impl UnsafeUnpin for Suitewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Vector>: UnsafeUnpin,
impl UnwindSafe for Suite
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