pub struct SetSamplingIntervalCommand { /* private fields */ }Available on crate features
Profiler and Runtime and Debugger only.Expand description
Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
Implementations§
Trait Implementations§
Source§impl Clone for SetSamplingIntervalCommand
impl Clone for SetSamplingIntervalCommand
Source§fn clone(&self) -> SetSamplingIntervalCommand
fn clone(&self) -> SetSamplingIntervalCommand
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 Command for SetSamplingIntervalCommand
impl Command for SetSamplingIntervalCommand
Source§impl Debug for SetSamplingIntervalCommand
impl Debug for SetSamplingIntervalCommand
Source§impl Deref for SetSamplingIntervalCommand
impl Deref for SetSamplingIntervalCommand
Source§impl<'de> Deserialize<'de> for SetSamplingIntervalCommand
impl<'de> Deserialize<'de> for SetSamplingIntervalCommand
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 SetSamplingIntervalCommand
impl RefUnwindSafe for SetSamplingIntervalCommand
impl Send for SetSamplingIntervalCommand
impl Sync for SetSamplingIntervalCommand
impl Unpin for SetSamplingIntervalCommand
impl UnwindSafe for SetSamplingIntervalCommand
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