pub struct ProfileSnapshotParamsBuilder { /* private fields */ }
Implementations§
source§impl ProfileSnapshotParamsBuilder
impl ProfileSnapshotParamsBuilder
pub fn snapshot_id( self, snapshot_id: impl Into<SnapshotId> ) -> ProfileSnapshotParamsBuilder
pub fn min_repeat_count( self, min_repeat_count: impl Into<i64> ) -> ProfileSnapshotParamsBuilder
pub fn min_duration( self, min_duration: impl Into<f64> ) -> ProfileSnapshotParamsBuilder
pub fn clip_rect( self, clip_rect: impl Into<Rect> ) -> ProfileSnapshotParamsBuilder
pub fn build(self) -> Result<ProfileSnapshotParams, String>
Trait Implementations§
source§impl Clone for ProfileSnapshotParamsBuilder
impl Clone for ProfileSnapshotParamsBuilder
source§fn clone(&self) -> ProfileSnapshotParamsBuilder
fn clone(&self) -> ProfileSnapshotParamsBuilder
Returns a copy 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 Default for ProfileSnapshotParamsBuilder
impl Default for ProfileSnapshotParamsBuilder
source§fn default() -> ProfileSnapshotParamsBuilder
fn default() -> ProfileSnapshotParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ProfileSnapshotParamsBuilder
impl Send for ProfileSnapshotParamsBuilder
impl Sync for ProfileSnapshotParamsBuilder
impl Unpin for ProfileSnapshotParamsBuilder
impl UnwindSafe for ProfileSnapshotParamsBuilder
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