pub struct ProfileSnapshotParams {
pub snapshotId: SnapshotId,
pub minRepeatCount: Option<u64>,
pub minDuration: Option<f64>,
pub clipRect: Option<Rect>,
}Fields§
§snapshotId: SnapshotIdThe id of the layer snapshot.
minRepeatCount: Option<u64>The maximum number of times to replay the snapshot (1, if not specified).
minDuration: Option<f64>The minimum duration (in seconds) to replay the snapshot.
clipRect: Option<Rect>The clip rectangle to apply when replaying the snapshot.
Trait Implementations§
Source§impl Clone for ProfileSnapshotParams
impl Clone for ProfileSnapshotParams
Source§fn clone(&self) -> ProfileSnapshotParams
fn clone(&self) -> ProfileSnapshotParams
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 ProfileSnapshotParams
impl Debug for ProfileSnapshotParams
Source§impl Default for ProfileSnapshotParams
impl Default for ProfileSnapshotParams
Source§fn default() -> ProfileSnapshotParams
fn default() -> ProfileSnapshotParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileSnapshotParams
impl<'de> Deserialize<'de> for ProfileSnapshotParams
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 ProfileSnapshotParams
impl RefUnwindSafe for ProfileSnapshotParams
impl Send for ProfileSnapshotParams
impl Sync for ProfileSnapshotParams
impl Unpin for ProfileSnapshotParams
impl UnsafeUnpin for ProfileSnapshotParams
impl UnwindSafe for ProfileSnapshotParams
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