pub struct BeginFrameReturnObjectBuilder { /* private fields */ }Expand description
Builder for BeginFrameReturnObject.
Implementations§
Source§impl BeginFrameReturnObjectBuilder
impl BeginFrameReturnObjectBuilder
Sourcepub fn has_damage(&mut self, value: bool) -> &mut Self
pub fn has_damage(&mut self, value: bool) -> &mut Self
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.
Sourcepub fn screenshot_data(&mut self, value: Option<String>) -> &mut Self
pub fn screenshot_data(&mut self, value: Option<String>) -> &mut Self
Base64-encoded image data of the screenshot, if one was requested and successfully taken.
Sourcepub fn build(
&self,
) -> Result<BeginFrameReturnObject, BeginFrameReturnObjectBuilderError>
pub fn build( &self, ) -> Result<BeginFrameReturnObject, BeginFrameReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for BeginFrameReturnObjectBuilder
impl Clone for BeginFrameReturnObjectBuilder
Source§fn clone(&self) -> BeginFrameReturnObjectBuilder
fn clone(&self) -> BeginFrameReturnObjectBuilder
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 moreAuto Trait Implementations§
impl Freeze for BeginFrameReturnObjectBuilder
impl RefUnwindSafe for BeginFrameReturnObjectBuilder
impl Send for BeginFrameReturnObjectBuilder
impl Sync for BeginFrameReturnObjectBuilder
impl Unpin for BeginFrameReturnObjectBuilder
impl UnsafeUnpin for BeginFrameReturnObjectBuilder
impl UnwindSafe for BeginFrameReturnObjectBuilder
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