pub struct GetBrowserSamplingProfileReturn { /* private fields */ }Available on crate features
experimental and Memory only.Expand description
Retrieve native memory allocations profile collected since browser process startup.
Implementations§
Source§impl GetBrowserSamplingProfileReturn
impl GetBrowserSamplingProfileReturn
pub fn new(profile: SamplingProfile) -> Self
pub fn profile(&self) -> &SamplingProfile
Methods from Deref<Target = SamplingProfile>§
Trait Implementations§
Source§impl Clone for GetBrowserSamplingProfileReturn
impl Clone for GetBrowserSamplingProfileReturn
Source§fn clone(&self) -> GetBrowserSamplingProfileReturn
fn clone(&self) -> GetBrowserSamplingProfileReturn
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 GetBrowserSamplingProfileReturn
impl<'de> Deserialize<'de> for GetBrowserSamplingProfileReturn
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 GetBrowserSamplingProfileReturn
impl RefUnwindSafe for GetBrowserSamplingProfileReturn
impl Send for GetBrowserSamplingProfileReturn
impl Sync for GetBrowserSamplingProfileReturn
impl Unpin for GetBrowserSamplingProfileReturn
impl UnwindSafe for GetBrowserSamplingProfileReturn
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