Struct chromiumoxide_cdp::cdp::browser_protocol::headless_experimental::BeginFrameReturns [−][src]
Expand description
Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a screenshot from the resulting frame. Requires that the target was created with enabled BeginFrameControl. Designed for use with –run-all-compositor-stages-before-draw, see also https://goo.gl/3zHXhB for more background. beginFrame
Fields
has_damage: bool
Whether the BeginFrame resulted in damage and, thus, a new frame was committed to the display. Reported for diagnostic uses, may be removed in the future.
screenshot_data: Option<Binary>
Base64-encoded image data of the screenshot, if one was requested and successfully taken.
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 BeginFrameReturns
impl Send for BeginFrameReturns
impl Sync for BeginFrameReturns
impl Unpin for BeginFrameReturns
impl UnwindSafe for BeginFrameReturns
Blanket Implementations
Mutably borrows from an owned value. Read more