pub struct ScreenshotArtifact {
pub artifact: CaptureArtifact,
pub width: u32,
pub height: u32,
}Expand description
PNG screenshot of the viewport.
Fields§
§artifact: CaptureArtifact§width: u32§height: u32Trait Implementations§
Source§impl Clone for ScreenshotArtifact
impl Clone for ScreenshotArtifact
Source§impl Debug for ScreenshotArtifact
impl Debug for ScreenshotArtifact
impl Eq for ScreenshotArtifact
Source§impl PartialEq for ScreenshotArtifact
impl PartialEq for ScreenshotArtifact
Source§impl Serialize for ScreenshotArtifact
impl Serialize for ScreenshotArtifact
impl StructuralPartialEq for ScreenshotArtifact
Auto Trait Implementations§
impl Freeze for ScreenshotArtifact
impl RefUnwindSafe for ScreenshotArtifact
impl Send for ScreenshotArtifact
impl Sync for ScreenshotArtifact
impl Unpin for ScreenshotArtifact
impl UnsafeUnpin for ScreenshotArtifact
impl UnwindSafe for ScreenshotArtifact
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