pub struct Folder { /* private fields */ }
Expand description
A stack collapser for the output of sample
on macOS.
To construct one, either use sample::Folder::default()
or create an Options
and use
sample::Folder::from(options)
.
Trait Implementations§
source§impl Collapse for Folder
impl Collapse for Folder
source§fn is_applicable(&mut self, input: &str) -> Option<bool>
fn is_applicable(&mut self, input: &str) -> Option<bool>
Check for start and end lines of a call graph.
source§fn collapse<R, W>(&mut self, reader: R, writer: W) -> Result<()>
fn collapse<R, W>(&mut self, reader: R, writer: W) -> Result<()>
Collapses the contents of the provided
reader
and writes folded stack lines to the
provided writer
.Auto Trait Implementations§
impl Freeze for Folder
impl RefUnwindSafe for Folder
impl Send for Folder
impl Sync for Folder
impl Unpin for Folder
impl UnwindSafe for Folder
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