Struct chromiumoxide::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>,
}

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

impl ScreencastFrameMetadata[src]

impl ScreencastFrameMetadata[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for ScreencastFrameMetadata[src]

impl Debug for ScreencastFrameMetadata[src]

impl<'de> Deserialize<'de> for ScreencastFrameMetadata[src]

impl PartialEq<ScreencastFrameMetadata> for ScreencastFrameMetadata[src]

impl Serialize for ScreencastFrameMetadata[src]

impl StructuralPartialEq for ScreencastFrameMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,