pub struct FlameGraphConfig {
pub enabled: bool,
pub width: u32,
pub height: u32,
pub color_scheme: FlameGraphColorScheme,
pub min_frame_width: u32,
pub show_function_names: bool,
pub reverse: bool,
}
Expand description
Flame graph configuration
Fields§
§enabled: bool
Enable flame graph generation
width: u32
Flame graph width in pixels
height: u32
Flame graph height in pixels
color_scheme: FlameGraphColorScheme
Color scheme
min_frame_width: u32
Minimum frame width in pixels
show_function_names: bool
Show function names
reverse: bool
Reverse flame graph (icicle graph)
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<'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
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