Struct inferno::flamegraph::FuncFrameAttrsMap
source · [−]pub struct FuncFrameAttrsMap(_);
Expand description
Provides a way to customize the attributes on the SVG elements for a frame.
Implementations
sourceimpl FuncFrameAttrsMap
impl FuncFrameAttrsMap
sourcepub fn from_file(path: &Path) -> Result<FuncFrameAttrsMap>
pub fn from_file(path: &Path) -> Result<FuncFrameAttrsMap>
Parse frame attributes from a file.
Each line should consist of a function name, a tab (\t
), and then a sequence of
tab-separated name=value
pairs.
sourcepub fn from_reader<R: BufRead>(reader: R) -> Result<FuncFrameAttrsMap>
pub fn from_reader<R: BufRead>(reader: R) -> Result<FuncFrameAttrsMap>
Parse frame attributes from a BufRead
.
Each line should consist of a function name, a tab (\t
), and then a sequence of
tab-separated name=value
pairs.
Trait Implementations
sourceimpl Debug for FuncFrameAttrsMap
impl Debug for FuncFrameAttrsMap
sourceimpl Default for FuncFrameAttrsMap
impl Default for FuncFrameAttrsMap
sourcefn default() -> FuncFrameAttrsMap
fn default() -> FuncFrameAttrsMap
Returns the “default value” for a type. Read more
sourceimpl PartialEq<FuncFrameAttrsMap> for FuncFrameAttrsMap
impl PartialEq<FuncFrameAttrsMap> for FuncFrameAttrsMap
sourcefn eq(&self, other: &FuncFrameAttrsMap) -> bool
fn eq(&self, other: &FuncFrameAttrsMap) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FuncFrameAttrsMap) -> bool
fn ne(&self, other: &FuncFrameAttrsMap) -> bool
This method tests for !=
.
impl Eq for FuncFrameAttrsMap
impl StructuralEq for FuncFrameAttrsMap
impl StructuralPartialEq for FuncFrameAttrsMap
Auto Trait Implementations
impl RefUnwindSafe for FuncFrameAttrsMap
impl Send for FuncFrameAttrsMap
impl Sync for FuncFrameAttrsMap
impl Unpin for FuncFrameAttrsMap
impl UnwindSafe for FuncFrameAttrsMap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.