pub struct ProfileSnapshotReturnsBuilder { /* private fields */ }
Implementations§
source§impl ProfileSnapshotReturnsBuilder
impl ProfileSnapshotReturnsBuilder
pub fn timing( self, timing: impl Into<PaintProfile> ) -> ProfileSnapshotReturnsBuilder
pub fn timings<I, S>(self, timings: I) -> ProfileSnapshotReturnsBuilder
pub fn build(self) -> Result<ProfileSnapshotReturns, String>
Trait Implementations§
source§impl Clone for ProfileSnapshotReturnsBuilder
impl Clone for ProfileSnapshotReturnsBuilder
source§fn clone(&self) -> ProfileSnapshotReturnsBuilder
fn clone(&self) -> ProfileSnapshotReturnsBuilder
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 ProfileSnapshotReturnsBuilder
impl Default for ProfileSnapshotReturnsBuilder
source§fn default() -> ProfileSnapshotReturnsBuilder
fn default() -> ProfileSnapshotReturnsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProfileSnapshotReturnsBuilder
impl RefUnwindSafe for ProfileSnapshotReturnsBuilder
impl Send for ProfileSnapshotReturnsBuilder
impl Sync for ProfileSnapshotReturnsBuilder
impl Unpin for ProfileSnapshotReturnsBuilder
impl UnwindSafe for ProfileSnapshotReturnsBuilder
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