pub enum ScreenshotType {
Png,
Jpeg,
Webp,
}Expand description
Screenshot image format.
Variants§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScreenshotType
Source§impl Debug for ScreenshotType
impl Debug for ScreenshotType
Source§impl Default for ScreenshotType
impl Default for ScreenshotType
Source§fn default() -> ScreenshotType
fn default() -> ScreenshotType
Returns the “default value” for a type. Read more
impl Eq for ScreenshotType
Source§impl PartialEq for ScreenshotType
impl PartialEq 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