Struct chromiumoxide::cdp::browser_protocol::emulation::SetVirtualTimePolicyReturns[][src]

pub struct SetVirtualTimePolicyReturns {
    pub virtual_time_ticks_base: f64,
}

Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets the current virtual time policy. Note this supersedes any previous time budget. setVirtualTimePolicy

Fields

virtual_time_ticks_base: f64

Absolute timestamp at which virtual time was first enabled (up time in milliseconds).

Implementations

impl SetVirtualTimePolicyReturns[src]

pub fn new(
    virtual_time_ticks_base: impl Into<f64>
) -> SetVirtualTimePolicyReturns
[src]

impl SetVirtualTimePolicyReturns[src]

Trait Implementations

impl Clone for SetVirtualTimePolicyReturns[src]

impl Debug for SetVirtualTimePolicyReturns[src]

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

impl PartialEq<SetVirtualTimePolicyReturns> for SetVirtualTimePolicyReturns[src]

impl Serialize for SetVirtualTimePolicyReturns[src]

impl StructuralPartialEq for SetVirtualTimePolicyReturns[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>,