pub struct ProfileSnapshotCommand { /* private fields */ }
Available on crate features
experimental
and LayerTree
and DOM
only.Implementations§
Source§impl ProfileSnapshotCommand
impl ProfileSnapshotCommand
pub fn builder() -> ProfileSnapshotCommandBuilder
Sourcepub fn snapshot_id(&self) -> &SnapshotId
pub fn snapshot_id(&self) -> &SnapshotId
The id of the layer snapshot.
Sourcepub fn min_repeat_count(&self) -> Option<&u32>
pub fn min_repeat_count(&self) -> Option<&u32>
The maximum number of times to replay the snapshot (1, if not specified).
Sourcepub fn min_duration(&self) -> Option<&f64>
pub fn min_duration(&self) -> Option<&f64>
The minimum duration (in seconds) to replay the snapshot.
Trait Implementations§
Source§impl Clone for ProfileSnapshotCommand
impl Clone for ProfileSnapshotCommand
Source§fn clone(&self) -> ProfileSnapshotCommand
fn clone(&self) -> ProfileSnapshotCommand
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 ProfileSnapshotCommand
impl Command for ProfileSnapshotCommand
Source§impl Debug for ProfileSnapshotCommand
impl Debug for ProfileSnapshotCommand
Source§impl<'de> Deserialize<'de> for ProfileSnapshotCommand
impl<'de> Deserialize<'de> for ProfileSnapshotCommand
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 ProfileSnapshotCommand
impl RefUnwindSafe for ProfileSnapshotCommand
impl Send for ProfileSnapshotCommand
impl Sync for ProfileSnapshotCommand
impl Unpin for ProfileSnapshotCommand
impl UnwindSafe for ProfileSnapshotCommand
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