pub struct Config {
pub bench_bin: PathBuf,
pub bench_file: PathBuf,
pub meta: Metadata,
pub module_path: ModulePath,
pub package_dir: PathBuf,
}
Available on crate feature
runner
only.Expand description
The Config
contains all the information extracted from the UI invocation of the runner
Fields§
§bench_bin: PathBuf
The path to the compiled binary with the benchmark harness
bench_file: PathBuf
The path to the benchmark file which contains the benchmark harness
meta: Metadata
The Metadata
module_path: ModulePath
The module path of the benchmark file
package_dir: PathBuf
The package directory of the package in which iai-callgrind
(not the runner) is used
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more