pub struct BeginFrameReturns {
pub has_damage: bool,
pub screenshot_data: Option<String>,
}Expand description
What HeadlessExperimental.beginFrame answers with.
Fields§
§has_damage: boolWhether 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<String>Base64-encoded image data of the screenshot, if one was requested and successfully taken. (Encoded as a base64 string when passed over JSON)
Trait Implementations§
Source§impl Clone for BeginFrameReturns
impl Clone for BeginFrameReturns
Source§impl Debug for BeginFrameReturns
impl Debug for BeginFrameReturns
Source§impl Default for BeginFrameReturns
impl Default for BeginFrameReturns
Source§impl<'de> Deserialize<'de> for BeginFrameReturns
impl<'de> Deserialize<'de> for BeginFrameReturns
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
Source§impl PartialEq for BeginFrameReturns
impl PartialEq for BeginFrameReturns
Source§impl Serialize for BeginFrameReturns
impl Serialize for BeginFrameReturns
impl StructuralPartialEq for BeginFrameReturns
Auto Trait Implementations§
impl Forget for BeginFrameReturns
impl Freeze for BeginFrameReturns
impl RefUnwindSafe for BeginFrameReturns
impl Send for BeginFrameReturns
impl Sync for BeginFrameReturns
impl Unpin for BeginFrameReturns
impl UnsafeUnpin for BeginFrameReturns
impl UnwindSafe for BeginFrameReturns
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