pub struct ProfileSnapshotParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> ProfileSnapshotParamsBuilder<'a>
impl<'a> ProfileSnapshotParamsBuilder<'a>
Sourcepub fn minRepeatCount(self, minRepeatCount: u64) -> Self
pub fn minRepeatCount(self, minRepeatCount: u64) -> Self
The maximum number of times to replay the snapshot (1, if not specified).
Sourcepub fn minDuration(self, minDuration: f64) -> Self
pub fn minDuration(self, minDuration: f64) -> Self
The minimum duration (in seconds) to replay the snapshot.
Sourcepub fn clipRect(self, clipRect: Rect) -> Self
pub fn clipRect(self, clipRect: Rect) -> Self
The clip rectangle to apply when replaying the snapshot.
pub fn build(self) -> ProfileSnapshotParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for ProfileSnapshotParamsBuilder<'a>
impl<'a> RefUnwindSafe for ProfileSnapshotParamsBuilder<'a>
impl<'a> Send for ProfileSnapshotParamsBuilder<'a>
impl<'a> Sync for ProfileSnapshotParamsBuilder<'a>
impl<'a> Unpin for ProfileSnapshotParamsBuilder<'a>
impl<'a> UnsafeUnpin for ProfileSnapshotParamsBuilder<'a>
impl<'a> UnwindSafe for ProfileSnapshotParamsBuilder<'a>
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