Struct starlark::eval::ProfileData
source · pub struct ProfileData { /* private fields */ }
Expand description
Collected profiling data.
Implementations§
source§impl ProfileData
impl ProfileData
sourcepub fn gen(&self) -> Result<String>
pub fn gen(&self) -> Result<String>
Generate a string with profile data (e.g. CSV or flamegraph, depending on profile type).
sourcepub fn merge<'a>(
profiles: impl IntoIterator<Item = &'a ProfileData>
) -> Result<ProfileData>
pub fn merge<'a>( profiles: impl IntoIterator<Item = &'a ProfileData> ) -> Result<ProfileData>
Merge profiles (aggregate).
Trait Implementations§
source§impl Clone for ProfileData
impl Clone for ProfileData
source§fn clone(&self) -> ProfileData
fn clone(&self) -> ProfileData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ProfileData
impl Send for ProfileData
impl Sync for ProfileData
impl Unpin for ProfileData
impl UnwindSafe for ProfileData
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