Struct iai_callgrind_runner::api::LibraryBenchmarkConfig
source · pub struct LibraryBenchmarkConfig {
pub env_clear: Option<bool>,
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§
§env_clear: Option<bool>§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 LibraryBenchmarkConfig
impl LibraryBenchmarkConfig
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 LibraryBenchmarkConfig
impl Clone for LibraryBenchmarkConfig
source§fn clone(&self) -> LibraryBenchmarkConfig
fn clone(&self) -> LibraryBenchmarkConfig
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 LibraryBenchmarkConfig
impl Debug for LibraryBenchmarkConfig
source§impl Default for LibraryBenchmarkConfig
impl Default for LibraryBenchmarkConfig
source§fn default() -> LibraryBenchmarkConfig
fn default() -> LibraryBenchmarkConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LibraryBenchmarkConfig
impl<'de> Deserialize<'de> for LibraryBenchmarkConfig
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
source§impl PartialEq for LibraryBenchmarkConfig
impl PartialEq for LibraryBenchmarkConfig
source§impl Serialize for LibraryBenchmarkConfig
impl Serialize for LibraryBenchmarkConfig
impl StructuralPartialEq for LibraryBenchmarkConfig
Auto Trait Implementations§
impl Freeze for LibraryBenchmarkConfig
impl RefUnwindSafe for LibraryBenchmarkConfig
impl Send for LibraryBenchmarkConfig
impl Sync for LibraryBenchmarkConfig
impl Unpin for LibraryBenchmarkConfig
impl UnwindSafe for LibraryBenchmarkConfig
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