pub struct BeginFrameResult {
pub has_damage: bool,
pub screenshot_data: Option<Binary>,
}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<Binary>Base64-encoded image data of the screenshot, if one was requested and successfully taken.
Trait Implementations§
Source§impl Clone for BeginFrameResult
impl Clone for BeginFrameResult
Source§fn clone(&self) -> BeginFrameResult
fn clone(&self) -> BeginFrameResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BeginFrameResult
impl Debug for BeginFrameResult
Source§impl<'de> Deserialize<'de> for BeginFrameResult
impl<'de> Deserialize<'de> for BeginFrameResult
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 BeginFrameResult
impl PartialEq for BeginFrameResult
Source§impl Serialize for BeginFrameResult
impl Serialize for BeginFrameResult
Source§impl TryFrom<Value> for BeginFrameResult
impl TryFrom<Value> for BeginFrameResult
impl StructuralPartialEq for BeginFrameResult
Auto Trait Implementations§
impl Freeze for BeginFrameResult
impl RefUnwindSafe for BeginFrameResult
impl Send for BeginFrameResult
impl Sync for BeginFrameResult
impl Unpin for BeginFrameResult
impl UnsafeUnpin for BeginFrameResult
impl UnwindSafe for BeginFrameResult
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