Enum inferno::flamegraph::color::MultiPalette
source · pub enum MultiPalette {
Java,
Js,
Perl,
Python,
Rust,
Wakeup,
}
Expand description
A semantic color palette in which different hues are used to signify semantic aspects of different function names (kernel functions, JIT functions, etc.).
Variants§
Java
Use Java semantics to color frames.
Js
Use JavaScript semantics to color frames.
Perl
Use Perl semantics to color frames.
Python
Use Python semantics to color frames.
Rust
Use Rust semantics to color frames.
Wakeup
Equivalent to BasicPalette::Aqua
with BackgroundColor::Blue
.
Trait Implementations§
source§impl Clone for MultiPalette
impl Clone for MultiPalette
source§fn clone(&self) -> MultiPalette
fn clone(&self) -> MultiPalette
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MultiPalette
impl Debug for MultiPalette
source§impl PartialEq for MultiPalette
impl PartialEq for MultiPalette
source§fn eq(&self, other: &MultiPalette) -> bool
fn eq(&self, other: &MultiPalette) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MultiPalette
impl Eq for MultiPalette
impl StructuralEq for MultiPalette
impl StructuralPartialEq for MultiPalette
Auto Trait Implementations§
impl RefUnwindSafe for MultiPalette
impl Send for MultiPalette
impl Sync for MultiPalette
impl Unpin for MultiPalette
impl UnwindSafe for MultiPalette
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 Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.