Struct inferno::flamegraph::FuncFrameAttrsMap
source · pub struct FuncFrameAttrsMap(/* private fields */);
Expand description
Provides a way to customize the attributes on the SVG elements for a frame.
Implementations§
source§impl 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§
source§impl Debug for FuncFrameAttrsMap
impl Debug for FuncFrameAttrsMap
source§impl Default for FuncFrameAttrsMap
impl Default for FuncFrameAttrsMap
source§fn default() -> FuncFrameAttrsMap
fn default() -> FuncFrameAttrsMap
Returns the “default value” for a type. Read more
source§impl PartialEq for FuncFrameAttrsMap
impl PartialEq for FuncFrameAttrsMap
source§fn 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 ==
.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§
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.