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