struct AsyncScreenshot {
    pbo: PBO,
    screenshot_size: DeviceIntSize,
    buffer_stride: usize,
    image_format: ImageFormat,
}Expand description
An asynchronously captured screenshot bound to a PBO which has not yet been mapped for copying.
Fields§
§pbo: PBOThe PBO that will contain the screenshot data.
screenshot_size: DeviceIntSizeThe size of the screenshot.
buffer_stride: usizeThe stride of the data in the PBO.
image_format: ImageFormatThge image format of the screenshot.
Auto Trait Implementations§
impl Freeze for AsyncScreenshot
impl RefUnwindSafe for AsyncScreenshot
impl Send for AsyncScreenshot
impl Sync for AsyncScreenshot
impl Unpin for AsyncScreenshot
impl UnwindSafe for AsyncScreenshot
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
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more