Struct chromiumoxide_cdp::cdp::browser_protocol::page::ScreencastFrameMetadata [−][src]
pub struct ScreencastFrameMetadata { pub offset_top: f64, pub page_scale_factor: f64, pub device_width: f64, pub device_height: f64, pub scroll_offset_x: f64, pub scroll_offset_y: f64, pub timestamp: Option<TimeSinceEpoch>, }
Expand description
Screencast frame metadata. ScreencastFrameMetadata
Fields
offset_top: f64
Top offset in DIP.
page_scale_factor: f64
Page scale factor.
device_width: f64
Device screen width in DIP.
device_height: f64
Device screen height in DIP.
scroll_offset_x: f64
Position of horizontal scroll in CSS pixels.
scroll_offset_y: f64
Position of vertical scroll in CSS pixels.
timestamp: Option<TimeSinceEpoch>
Frame swap timestamp.
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ScreencastFrameMetadata
impl Send for ScreencastFrameMetadata
impl Sync for ScreencastFrameMetadata
impl Unpin for ScreencastFrameMetadata
impl UnwindSafe for ScreencastFrameMetadata
Blanket Implementations
Mutably borrows from an owned value. Read more