pub struct LargestContentfulPaint { /* private fields */ }Available on crate features
experimental and PerformanceTimeline and DOM and Network only.Expand description
See https://github.com/WICG/LargestContentfulPaint and largest_contentful_paint.idl
Implementations§
Source§impl LargestContentfulPaint
impl LargestContentfulPaint
pub fn builder() -> LargestContentfulPaintBuilder
pub fn render_time(&self) -> &TimeSinceEpoch
pub fn load_time(&self) -> &TimeSinceEpoch
Sourcepub fn element_id(&self) -> Option<&String>
pub fn element_id(&self) -> Option<&String>
The id attribute of the element, if available.
pub fn node_id(&self) -> Option<&BackendNodeId>
Trait Implementations§
Source§impl Clone for LargestContentfulPaint
impl Clone for LargestContentfulPaint
Source§fn clone(&self) -> LargestContentfulPaint
fn clone(&self) -> LargestContentfulPaint
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 Debug for LargestContentfulPaint
impl Debug for LargestContentfulPaint
Source§impl<'de> Deserialize<'de> for LargestContentfulPaint
impl<'de> Deserialize<'de> for LargestContentfulPaint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LargestContentfulPaint
impl RefUnwindSafe for LargestContentfulPaint
impl Send for LargestContentfulPaint
impl Sync for LargestContentfulPaint
impl Unpin for LargestContentfulPaint
impl UnwindSafe for LargestContentfulPaint
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