Enum inferno::flamegraph::color::BackgroundColor [−][src]
A flame graph background color.
The default background color usually depends on the color scheme:
BasicPalette::Memdefaults toBackgroundColor::Green.BasicPalette::IoandMultiPalette::Wakeupdefault toBackgroundColor::Blue.BasicPalette::Hotdefaults toBackgroundColor::Yellow.- All other
BasicPalettevariants default toBackgroundColor::Grey. - All other
MultiPalettevariants default toBackgroundColor::Yellow.
BackgroundColor::default() is Yellow.
Variants
A yellow gradient from #EEEEEE to #EEEEB0.
A blue gradient from #EEEEEE to #E0E0FF.
A green gradient from #EEF2EE to #E0FFE0.
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]
fn clone(&self) -> BackgroundColor[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[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.
fn from_str(s: &str) -> Result<Self, Self::Err>[src]
impl PartialEq<BackgroundColor> for BackgroundColor[src]
fn eq(&self, other: &BackgroundColor) -> bool[src]
fn ne(&self, other: &BackgroundColor) -> bool[src]
impl StructuralPartialEq for BackgroundColor[src]
Auto Trait Implementations
impl RefUnwindSafe for BackgroundColor
impl Send for BackgroundColor
impl Sync for BackgroundColor
impl Unpin for BackgroundColor
impl UnwindSafe for BackgroundColor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,