pub struct TestDecl {
pub name: StrLit,
pub body: Block,
}Expand description
test "name" { body }
Fields§
§name: StrLitThe test name.
body: BlockThe body.
Trait Implementations§
impl StructuralPartialEq for TestDecl
Auto Trait Implementations§
impl Freeze for TestDecl
impl RefUnwindSafe for TestDecl
impl Send for TestDecl
impl Sync for TestDecl
impl Unpin for TestDecl
impl UnsafeUnpin for TestDecl
impl UnwindSafe for TestDecl
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