pub enum CaptureScreenshotFormat {
Jpeg,
Png,
Webp,
}Expand description
Image compression format (defaults to png).
Variants§
Trait Implementations§
Source§impl AsRef<str> for CaptureScreenshotFormat
impl AsRef<str> for CaptureScreenshotFormat
Source§impl Clone for CaptureScreenshotFormat
impl Clone for CaptureScreenshotFormat
Source§fn clone(&self) -> CaptureScreenshotFormat
fn clone(&self) -> CaptureScreenshotFormat
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 CaptureScreenshotFormat
impl Debug for CaptureScreenshotFormat
Source§impl<'de> Deserialize<'de> for CaptureScreenshotFormat
impl<'de> Deserialize<'de> for CaptureScreenshotFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for CaptureScreenshotFormat
impl FromStr for CaptureScreenshotFormat
Source§impl Hash for CaptureScreenshotFormat
impl Hash for CaptureScreenshotFormat
Source§impl PartialEq for CaptureScreenshotFormat
impl PartialEq for CaptureScreenshotFormat
Source§impl Serialize for CaptureScreenshotFormat
impl Serialize for CaptureScreenshotFormat
impl Eq for CaptureScreenshotFormat
impl StructuralPartialEq for CaptureScreenshotFormat
Auto Trait Implementations§
impl Freeze for CaptureScreenshotFormat
impl RefUnwindSafe for CaptureScreenshotFormat
impl Send for CaptureScreenshotFormat
impl Sync for CaptureScreenshotFormat
impl Unpin for CaptureScreenshotFormat
impl UnwindSafe for CaptureScreenshotFormat
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