Enum pprof::flamegraph::color::BackgroundColor[][src]

pub enum BackgroundColor {
    Yellow,
    Blue,
    Green,
    Grey,
    Flat(RGB<u8>),
}
Expand description

A flame graph background color.

The default background color usually depends on the color scheme:

BackgroundColor::default() is Yellow.

Variants

Yellow

A yellow gradient from #EEEEEE to #EEEEB0.

Blue

A blue gradient from #EEEEEE to #E0E0FF.

Green

A green gradient from #EEF2EE to #E0FFE0.

Grey

A grey gradient from #F8F8F8 to #E8E8E8.

Flat(RGB<u8>)

A flag background color with the given RGB components.

Expressed in string form as #RRGGBB where each component is written in hexadecimal.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.