Struct iai_callgrind_runner::api::BinaryBenchmarkConfig
source · pub struct BinaryBenchmarkConfig {
pub sandbox: Option<bool>,
pub fixtures: Option<Fixtures>,
pub env_clear: Option<bool>,
pub current_dir: Option<PathBuf>,
pub entry_point: Option<String>,
pub exit_with: Option<ExitWith>,
pub raw_callgrind_args: RawArgs,
pub envs: Vec<(OsString, Option<OsString>)>,
pub flamegraph_config: Option<FlamegraphConfig>,
pub regression_config: Option<RegressionConfig>,
pub tools: Tools,
pub tools_override: Option<Tools>,
}Available on crate feature
api only.Fields§
§sandbox: Option<bool>§fixtures: Option<Fixtures>§env_clear: Option<bool>§current_dir: Option<PathBuf>§entry_point: Option<String>§exit_with: Option<ExitWith>§raw_callgrind_args: RawArgs§envs: Vec<(OsString, Option<OsString>)>§flamegraph_config: Option<FlamegraphConfig>§regression_config: Option<RegressionConfig>§tools: Tools§tools_override: Option<Tools>Implementations§
source§impl BinaryBenchmarkConfig
impl BinaryBenchmarkConfig
pub fn update_from_all<'a, T>(self, others: T) -> Selfwhere
T: IntoIterator<Item = Option<&'a Self>>,
pub fn resolve_envs(&self) -> Vec<(OsString, OsString)>
Trait Implementations§
source§impl Clone for BinaryBenchmarkConfig
impl Clone for BinaryBenchmarkConfig
source§fn clone(&self) -> BinaryBenchmarkConfig
fn clone(&self) -> BinaryBenchmarkConfig
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 BinaryBenchmarkConfig
impl Debug for BinaryBenchmarkConfig
source§impl Default for BinaryBenchmarkConfig
impl Default for BinaryBenchmarkConfig
source§fn default() -> BinaryBenchmarkConfig
fn default() -> BinaryBenchmarkConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BinaryBenchmarkConfig
impl<'de> Deserialize<'de> for BinaryBenchmarkConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BinaryBenchmarkConfig
impl RefUnwindSafe for BinaryBenchmarkConfig
impl Send for BinaryBenchmarkConfig
impl Sync for BinaryBenchmarkConfig
impl Unpin for BinaryBenchmarkConfig
impl UnwindSafe for BinaryBenchmarkConfig
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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