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 Forget for ScreenshotArtifact
impl Freeze for ScreenshotArtifact
impl Move for ScreenshotArtifact
impl RefUnwindSafe for ScreenshotArtifact
impl Send for ScreenshotArtifactwhere
RawVecInner: Send,
impl Sync for ScreenshotArtifactwhere
RawVecInner: Sync,
impl Unpin for ScreenshotArtifact
impl UnsafeUnpin for ScreenshotArtifact
impl UnwindSafe for ScreenshotArtifactwhere
RawVecInner: UnwindSafe,
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