pub struct NamedCase<T> {
pub name: &'static str,
pub input: T,
}Expand description
One representative input, named so that results and baselines can refer to it.
Fields§
§name: &'static strA short stable name: default, kind-rule, first-object.
input: TThe input.
Implementations§
Trait Implementations§
impl<T: Eq> Eq for NamedCase<T>
Source§impl<T: PartialEq> PartialEq for NamedCase<T>
impl<T: PartialEq> PartialEq for NamedCase<T>
impl<T: PartialEq> StructuralPartialEq for NamedCase<T>
Auto Trait Implementations§
impl<T> Freeze for NamedCase<T>where
T: Freeze,
impl<T> RefUnwindSafe for NamedCase<T>where
T: RefUnwindSafe,
impl<T> Send for NamedCase<T>where
T: Send,
impl<T> Sync for NamedCase<T>where
T: Sync,
impl<T> Unpin for NamedCase<T>where
T: Unpin,
impl<T> UnsafeUnpin for NamedCase<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for NamedCase<T>where
T: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.