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) -> 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§fn eq(&self, other: &LibraryBenchmarkConfig) -> bool
fn eq(&self, other: &LibraryBenchmarkConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LibraryBenchmarkConfig
impl Serialize for LibraryBenchmarkConfig
impl StructuralPartialEq for LibraryBenchmarkConfig
Auto Trait Implementations§
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