Enum pprof::flamegraph::color::Palette
source · pub enum Palette {
Basic(BasicPalette),
Multi(MultiPalette),
}
Expand description
A flame graph color palette.
Defaults to BasicPalette::Hot
.
Variants§
Basic(BasicPalette)
A plain color palette in which the color is not chosen based on function semantics.
See BasicPalette
for details.
Multi(MultiPalette)
A semantic color palette in which different hues are used to signify semantic aspects of different function names (kernel functions, JIT functions, etc.).
Implementations§
Trait Implementations§
source§impl PartialEq<Palette> for Palette
impl PartialEq<Palette> for Palette
impl Copy for Palette
impl Eq for Palette
impl StructuralEq for Palette
impl StructuralPartialEq for Palette
Auto Trait Implementations§
impl RefUnwindSafe for Palette
impl Send for Palette
impl Sync for Palette
impl Unpin for Palette
impl UnwindSafe for Palette
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.