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: bool

Colors are selected such that the color of a function does not change between runs

inverted: bool

Plot the flame graph up-side-down

reverse: bool

Generate stack-reversed flame graph

notes: Option<String>

Set embedded notes in SVG

min_width: f64

Omit functions smaller than pixels

image_width: Option<usize>

Image width in pixels

palette: Option<Palette>

Color palette

skip_after: Vec<String>

Cut off stack frames below ; may be repeated

flame_chart: bool

Produce a flame chart (sort by time, do not merge stacks)

Implementations

Trait Implementations

Append to Command so it can instantiate Self. Read more

Append to Command so it can update self. Read more

Formats the value using the given formatter. Read more

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more

Assign values from ArgMatches to self.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.