pub struct GetAllTimeSamplingProfileReturn { /* private fields */ }Available on crate features
experimental and Memory only.Expand description
Retrieve native memory allocations profile collected since renderer process startup.
Implementations§
Source§impl GetAllTimeSamplingProfileReturn
impl GetAllTimeSamplingProfileReturn
pub fn new(profile: SamplingProfile) -> Self
pub fn profile(&self) -> &SamplingProfile
Methods from Deref<Target = SamplingProfile>§
Trait Implementations§
Source§impl Clone for GetAllTimeSamplingProfileReturn
impl Clone for GetAllTimeSamplingProfileReturn
Source§fn clone(&self) -> GetAllTimeSamplingProfileReturn
fn clone(&self) -> GetAllTimeSamplingProfileReturn
Returns a duplicate 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 moreSource§impl<'de> Deserialize<'de> for GetAllTimeSamplingProfileReturn
impl<'de> Deserialize<'de> for GetAllTimeSamplingProfileReturn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetAllTimeSamplingProfileReturn
impl RefUnwindSafe for GetAllTimeSamplingProfileReturn
impl Send for GetAllTimeSamplingProfileReturn
impl Sync for GetAllTimeSamplingProfileReturn
impl Unpin for GetAllTimeSamplingProfileReturn
impl UnwindSafe for GetAllTimeSamplingProfileReturn
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