pub struct LargestContentfulPaintBuilder { /* private fields */ }Available on crate features
experimental and PerformanceTimeline and DOM and Network only.Implementations§
Source§impl LargestContentfulPaintBuilder
impl LargestContentfulPaintBuilder
pub fn render_time(&mut self, v: TimeSinceEpoch) -> &mut Self
pub fn load_time(&mut self, v: TimeSinceEpoch) -> &mut Self
Sourcepub fn element_id(&mut self, v: String) -> &mut Self
pub fn element_id(&mut self, v: String) -> &mut Self
The id attribute of the element, if available.
pub fn node_id(&mut self, v: BackendNodeId) -> &mut Self
pub fn build(&mut self) -> Result<LargestContentfulPaint, &'static str>
Trait Implementations§
Source§impl Clone for LargestContentfulPaintBuilder
impl Clone for LargestContentfulPaintBuilder
Source§fn clone(&self) -> LargestContentfulPaintBuilder
fn clone(&self) -> LargestContentfulPaintBuilder
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 LargestContentfulPaintBuilder
impl RefUnwindSafe for LargestContentfulPaintBuilder
impl Send for LargestContentfulPaintBuilder
impl Sync for LargestContentfulPaintBuilder
impl Unpin for LargestContentfulPaintBuilder
impl UnwindSafe for LargestContentfulPaintBuilder
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