Struct hotshot_macros::CrossTestData
source · pub(crate) struct CrossTestData {
pub(crate) impls: ExprArray,
pub(crate) builder_impls: ExprArray,
pub(crate) versions: ExprArray,
pub(crate) types: TypePathBracketedArray,
pub(crate) test_name: Ident,
pub(crate) metadata: Expr,
pub(crate) ignore: LitBool,
}Expand description
description of a crosstest
Fields§
§impls: ExprArrayimplementations
builder_impls: ExprArraybuilder impl
versions: ExprArrayversions
types: TypePathBracketedArraytypes
test_name: Identname of the test
metadata: Exprtest description/spec
ignore: LitBoolwhether or not to ignore
Trait Implementations§
source§impl Clone for CrossTestData
impl Clone for CrossTestData
source§fn clone(&self) -> CrossTestData
fn clone(&self) -> CrossTestData
Returns a copy 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 CrossTestData
impl Debug for CrossTestData
source§impl Parse for CrossTestData
impl Parse for CrossTestData
source§fn parse(input: ParseStream<'_>) -> Result<Self>
fn parse(input: ParseStream<'_>) -> Result<Self>
allow panic because this is a compiler error
Auto Trait Implementations§
impl Freeze for CrossTestData
impl RefUnwindSafe for CrossTestData
impl !Send for CrossTestData
impl !Sync for CrossTestData
impl Unpin for CrossTestData
impl UnwindSafe for CrossTestData
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)