pub enum ImageType {
Png,
Tiff,
Bmp,
Gif,
Jpeg,
}Expand description
Controls the encoding that will be used to write a screenshot to the buffer that is returned.
Variants§
Png
Returns a PNG-encoded image.
Tiff
Returns a TIFF-encoded image.
Bmp
Returns a BMP-encoded image.
Gif
Returns a GIF-encoded image.
Jpeg
Returns a JPEG-encoded image.
Trait Implementations§
impl Copy for ImageType
impl Eq for ImageType
impl StructuralPartialEq for ImageType
Auto Trait Implementations§
impl Freeze for ImageType
impl RefUnwindSafe for ImageType
impl Send for ImageType
impl Sync for ImageType
impl Unpin for ImageType
impl UnwindSafe for ImageType
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