pub struct StartSampling { /* private fields */ }Implementations§
Source§impl StartSampling
impl StartSampling
pub fn new() -> Self
pub fn with_sampling_interval(self, sampling_interval: impl Into<f64>) -> Self
pub fn with_stack_depth(self, stack_depth: impl Into<f64>) -> Self
pub fn with_include_objects_collected_by_major_gc( self, include_objects_collected_by_major_gc: impl Into<bool>, ) -> Self
pub fn with_include_objects_collected_by_minor_gc( self, include_objects_collected_by_minor_gc: impl Into<bool>, ) -> Self
Trait Implementations§
Source§impl Clone for StartSampling
impl Clone for StartSampling
Source§fn clone(&self) -> StartSampling
fn clone(&self) -> StartSampling
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 Debug for StartSampling
impl Debug for StartSampling
Auto Trait Implementations§
impl Freeze for StartSampling
impl RefUnwindSafe for StartSampling
impl Send for StartSampling
impl Sync for StartSampling
impl Unpin for StartSampling
impl UnsafeUnpin for StartSampling
impl UnwindSafe for StartSampling
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