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

pub enum BackgroundColor {
    Yellow,
    Blue,
    Green,
    Grey,
    Flat(Color),
}

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(Color)

A flag background color with the given RGB components.

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

Trait Implementations

impl Clone for BackgroundColor[src]

impl Copy for BackgroundColor[src]

impl Debug for BackgroundColor[src]

impl Default for BackgroundColor[src]

impl FromStr for BackgroundColor[src]

type Err = String

The associated error which can be returned from parsing.

impl PartialEq<BackgroundColor> for BackgroundColor[src]

impl StructuralPartialEq for BackgroundColor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.