pub struct ConformanceMatrix { /* private fields */ }Expand description
Deterministic witness inventory for a compiled pipeline.
Implementations§
Source§impl ConformanceMatrix
impl ConformanceMatrix
Sourcepub fn new(cases: Vec<ConformanceCase>) -> Self
pub fn new(cases: Vec<ConformanceCase>) -> Self
Build a matrix from an explicit witness list.
Sourcepub fn push(&mut self, case: ConformanceCase)
pub fn push(&mut self, case: ConformanceCase)
Append one witness case.
Sourcepub fn cases(&self) -> &[ConformanceCase]
pub fn cases(&self) -> &[ConformanceCase]
Borrow the deterministic witness list.
Trait Implementations§
Source§impl Clone for ConformanceMatrix
impl Clone for ConformanceMatrix
Source§fn clone(&self) -> ConformanceMatrix
fn clone(&self) -> ConformanceMatrix
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 ConformanceMatrix
impl Debug for ConformanceMatrix
Source§impl Default for ConformanceMatrix
impl Default for ConformanceMatrix
Source§fn default() -> ConformanceMatrix
fn default() -> ConformanceMatrix
Returns the “default value” for a type. Read more
impl Eq for ConformanceMatrix
Source§impl PartialEq for ConformanceMatrix
impl PartialEq for ConformanceMatrix
Source§fn eq(&self, other: &ConformanceMatrix) -> bool
fn eq(&self, other: &ConformanceMatrix) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConformanceMatrix
Auto Trait Implementations§
impl Freeze for ConformanceMatrix
impl RefUnwindSafe for ConformanceMatrix
impl Send for ConformanceMatrix
impl Sync for ConformanceMatrix
impl Unpin for ConformanceMatrix
impl UnsafeUnpin for ConformanceMatrix
impl UnwindSafe for ConformanceMatrix
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.