pub struct Benchmark<'a> {
pub fields: ComponentFields<'a>,
pub bench_type: Option<&'a str>,
pub main_is: Option<&'a str>,
}Expand description
A benchmark component.
Fields§
§fields: ComponentFields<'a>Shared component fields.
bench_type: Option<&'a str>type value (e.g. exitcode-stdio-1.0).
main_is: Option<&'a str>main-is value.
Trait Implementations§
Source§impl<'a> PartialEq for Benchmark<'a>
impl<'a> PartialEq for Benchmark<'a>
impl<'a> Eq for Benchmark<'a>
impl<'a> StructuralPartialEq for Benchmark<'a>
Auto Trait Implementations§
impl<'a> Freeze for Benchmark<'a>
impl<'a> RefUnwindSafe for Benchmark<'a>
impl<'a> Send for Benchmark<'a>
impl<'a> Sync for Benchmark<'a>
impl<'a> Unpin for Benchmark<'a>
impl<'a> UnsafeUnpin for Benchmark<'a>
impl<'a> UnwindSafe for Benchmark<'a>
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