[][src]Struct inferno::flamegraph::FuncFrameAttrsMap

pub struct FuncFrameAttrsMap(_);

Provides a way to customize the attributes on the SVG elements for a frame.

Methods

impl FuncFrameAttrsMap[src]

pub fn from_file(path: &PathBuf) -> Result<FuncFrameAttrsMap>[src]

Parse a FuncFrameAttrsMap from a file. Each line should be a function name followed by a tab, then a sequence of tab separated name=value pairs.

pub fn from_reader<R: BufRead>(reader: R) -> Result<FuncFrameAttrsMap>[src]

Parse a FuncFrameAttrsMap from a reader. Each line should be a function name followed by a tab, then a sequence of tab separated name=value pairs.

pub fn frameattrs_for_func(&self, func: &str) -> Option<&FrameAttrs>[src]

Return FrameAttrs for the given function name if it exists

Trait Implementations

impl Default for FuncFrameAttrsMap[src]

impl Eq for FuncFrameAttrsMap[src]

impl PartialEq<FuncFrameAttrsMap> for FuncFrameAttrsMap[src]

impl Debug for FuncFrameAttrsMap[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.