pub struct FlamegraphOptions {
pub title: Option<String>,
pub subtitle: Option<String>,
pub deterministic: bool,
pub inverted: bool,
pub reverse: bool,
pub notes: Option<String>,
pub min_width: f64,
pub image_width: Option<usize>,
pub palette: Option<Palette>,
pub skip_after: Vec<String>,
pub flame_chart: bool,
}Fields§
§title: Option<String>Set title text in SVG
subtitle: Option<String>Set second level title text in SVG
deterministic: boolColors are selected such that the color of a function does not change between runs
inverted: boolPlot the flame graph up-side-down
reverse: boolGenerate stack-reversed flame graph
notes: Option<String>Set embedded notes in SVG
min_width: f64Omit functions smaller than
image_width: Option<usize>Image width in pixels
palette: Option<Palette>Color palette
skip_after: Vec<String>Cut off stack frames below
flame_chart: boolProduce a flame chart (sort by time, do not merge stacks)
Implementations§
Source§impl FlamegraphOptions
impl FlamegraphOptions
pub fn into_inferno(self) -> Options<'static>
Trait Implementations§
Source§impl Args for FlamegraphOptions
impl Args for FlamegraphOptions
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for FlamegraphOptions
impl Debug for FlamegraphOptions
Source§impl FromArgMatches for FlamegraphOptions
impl FromArgMatches for FlamegraphOptions
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for FlamegraphOptions
impl RefUnwindSafe for FlamegraphOptions
impl Send for FlamegraphOptions
impl Sync for FlamegraphOptions
impl Unpin for FlamegraphOptions
impl UnwindSafe for FlamegraphOptions
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