pub enum ScreenshotType {
Png,
Jpeg,
}Expand description
Variants§
Png
PNG format (lossless, supports transparency)
Jpeg
JPEG format (lossy compression, smaller file size)
Trait Implementations§
Source§impl Clone for ScreenshotType
impl Clone for ScreenshotType
Source§fn clone(&self) -> ScreenshotType
fn clone(&self) -> ScreenshotType
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 moreSource§impl Debug for ScreenshotType
impl Debug for ScreenshotType
Source§impl PartialEq for ScreenshotType
impl PartialEq for ScreenshotType
Source§impl Serialize for ScreenshotType
impl Serialize for ScreenshotType
impl Copy for ScreenshotType
impl Eq for ScreenshotType
impl StructuralPartialEq for ScreenshotType
Auto Trait Implementations§
impl Freeze for ScreenshotType
impl RefUnwindSafe for ScreenshotType
impl Send for ScreenshotType
impl Sync for ScreenshotType
impl Unpin for ScreenshotType
impl UnsafeUnpin for ScreenshotType
impl UnwindSafe for ScreenshotType
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