Struct flamegraph::FlamegraphOptions
source · [−]pub struct FlamegraphOptions {
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
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
sourceimpl FlamegraphOptions
impl FlamegraphOptions
pub fn into_inferno(self) -> Options<'static>
Trait Implementations
sourceimpl Args for FlamegraphOptions
impl Args for FlamegraphOptions
sourceimpl Debug for FlamegraphOptions
impl Debug for FlamegraphOptions
sourceimpl FromArgMatches for FlamegraphOptions
impl FromArgMatches for FlamegraphOptions
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
sourcefn 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.
Auto Trait Implementations
impl RefUnwindSafe for FlamegraphOptions
impl Send for FlamegraphOptions
impl Sync for FlamegraphOptions
impl Unpin for FlamegraphOptions
impl UnwindSafe for FlamegraphOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more