pub struct Sample {
pub name: String,
pub params: Params,
pub args: Vec<HostArray>,
pub expected: Option<Vec<HostArray>>,
}Expand description
One test case of a primitive: parameters and arguments.
Fields§
§name: StringA short description, shown in failure reports.
params: ParamsThe parameters.
args: Vec<HostArray>The arguments.
expected: Option<Vec<HostArray>>The expected results, if the sample knows them.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Sample
impl !UnwindSafe for Sample
impl Freeze for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnsafeUnpin for Sample
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