#[repr(u32)]pub enum CapturePreviewImageFormat {
PNG = 0,
JPEG = 1,
}
Expand description
Specifies the image format for the ICoreWebView2::CapturePreview
method.
Variants§
PNG = 0
Indicates that the PNG image format is used.
JPEG = 1
Indicates the JPEG image format is used.
Trait Implementations§
Source§impl Clone for CapturePreviewImageFormat
impl Clone for CapturePreviewImageFormat
Source§fn clone(&self) -> CapturePreviewImageFormat
fn clone(&self) -> CapturePreviewImageFormat
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 CapturePreviewImageFormat
impl Debug for CapturePreviewImageFormat
impl Copy for CapturePreviewImageFormat
impl Eq for CapturePreviewImageFormat
impl StructuralPartialEq for CapturePreviewImageFormat
Auto Trait Implementations§
impl Freeze for CapturePreviewImageFormat
impl RefUnwindSafe for CapturePreviewImageFormat
impl Send for CapturePreviewImageFormat
impl Sync for CapturePreviewImageFormat
impl Unpin for CapturePreviewImageFormat
impl UnwindSafe for CapturePreviewImageFormat
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