[−][src]Struct inferno::flamegraph::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]
fn default() -> FuncFrameAttrsMap
[src]
impl Eq for FuncFrameAttrsMap
[src]
impl PartialEq<FuncFrameAttrsMap> for FuncFrameAttrsMap
[src]
fn eq(&self, other: &FuncFrameAttrsMap) -> bool
[src]
fn ne(&self, other: &FuncFrameAttrsMap) -> bool
[src]
impl Debug for FuncFrameAttrsMap
[src]
Auto Trait Implementations
impl Send for FuncFrameAttrsMap
impl Sync for FuncFrameAttrsMap
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,