pub struct ProfileSnapshotReturnObjectBuilder { /* private fields */ }Expand description
Builder for ProfileSnapshotReturnObject.
Implementations§
Source§impl ProfileSnapshotReturnObjectBuilder
impl ProfileSnapshotReturnObjectBuilder
Sourcepub fn timings(&mut self, value: Vec<PaintProfile>) -> &mut Self
pub fn timings(&mut self, value: Vec<PaintProfile>) -> &mut Self
The array of paint profiles, one per run.
Sourcepub fn build(
&self,
) -> Result<ProfileSnapshotReturnObject, ProfileSnapshotReturnObjectBuilderError>
pub fn build( &self, ) -> Result<ProfileSnapshotReturnObject, ProfileSnapshotReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for ProfileSnapshotReturnObjectBuilder
impl Clone for ProfileSnapshotReturnObjectBuilder
Source§fn clone(&self) -> ProfileSnapshotReturnObjectBuilder
fn clone(&self) -> ProfileSnapshotReturnObjectBuilder
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 moreAuto Trait Implementations§
impl Freeze for ProfileSnapshotReturnObjectBuilder
impl RefUnwindSafe for ProfileSnapshotReturnObjectBuilder
impl Send for ProfileSnapshotReturnObjectBuilder
impl Sync for ProfileSnapshotReturnObjectBuilder
impl Unpin for ProfileSnapshotReturnObjectBuilder
impl UnsafeUnpin for ProfileSnapshotReturnObjectBuilder
impl UnwindSafe for ProfileSnapshotReturnObjectBuilder
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