pub struct FlamegraphConfig {
pub direction: Option<Direction>,
pub event_kinds: Option<Vec<EventKind>>,
pub kind: Option<FlamegraphKind>,
pub min_width: Option<f64>,
pub negate_differential: Option<bool>,
pub normalize_differential: Option<bool>,
pub subtitle: Option<String>,
pub title: Option<String>,
}
Available on crate feature
api
only.Expand description
The model for the configuration of flamegraphs
Fields§
§direction: Option<Direction>
The direction of the flamegraph. Top to bottom or vice versa
event_kinds: Option<Vec<EventKind>>
The event kinds for which a flamegraph should be generated
kind: Option<FlamegraphKind>
The flamegraph kind
min_width: Option<f64>
The minimum width which should be displayed
negate_differential: Option<bool>
If true, negate a differential flamegraph
normalize_differential: Option<bool>
If true, normalize a differential flamegraph
subtitle: Option<String>
The subtitle to use for the flamegraphs
title: Option<String>
The title to use for the flamegraphs
Trait Implementations§
Source§impl Clone for FlamegraphConfig
impl Clone for FlamegraphConfig
Source§fn clone(&self) -> FlamegraphConfig
fn clone(&self) -> FlamegraphConfig
Returns a duplicate 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 FlamegraphConfig
impl Debug for FlamegraphConfig
Source§impl Default for FlamegraphConfig
impl Default for FlamegraphConfig
Source§fn default() -> FlamegraphConfig
fn default() -> FlamegraphConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlamegraphConfig
impl<'de> Deserialize<'de> for FlamegraphConfig
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 From<FlamegraphConfig> for Config
Available on crate feature runner
only.
impl From<FlamegraphConfig> for Config
Available on crate feature
runner
only.Source§fn from(value: FlamegraphConfig) -> Self
fn from(value: FlamegraphConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FlamegraphConfig
impl PartialEq for FlamegraphConfig
Source§impl Serialize for FlamegraphConfig
impl Serialize for FlamegraphConfig
impl StructuralPartialEq for FlamegraphConfig
Auto Trait Implementations§
impl Freeze for FlamegraphConfig
impl RefUnwindSafe for FlamegraphConfig
impl Send for FlamegraphConfig
impl Sync for FlamegraphConfig
impl Unpin for FlamegraphConfig
impl UnwindSafe for FlamegraphConfig
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§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