#[repr(C)]pub struct _spinJPEGOption {
pub progressive: bool8_t,
pub quality: c_uint,
pub reserved: [c_uint; 16],
}Expand description
Options for saving JPEG images. Used in saving PPM images with a call to spinImageSaveJpeg().
Fields§
§progressive: bool8_tWhether to save as a progressive JPEG file.
quality: c_uintJPEG image quality in range (0-100).
- 100 - Superb quality.
- 75 - Good quality.
- 50 - Normal quality.
- 10 - Poor quality.
reserved: [c_uint; 16]Reserved for future use.
Trait Implementations§
Source§impl Clone for _spinJPEGOption
impl Clone for _spinJPEGOption
Source§fn clone(&self) -> _spinJPEGOption
fn clone(&self) -> _spinJPEGOption
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 _spinJPEGOption
impl Debug for _spinJPEGOption
impl Copy for _spinJPEGOption
Auto Trait Implementations§
impl Freeze for _spinJPEGOption
impl RefUnwindSafe for _spinJPEGOption
impl Send for _spinJPEGOption
impl Sync for _spinJPEGOption
impl Unpin for _spinJPEGOption
impl UnwindSafe for _spinJPEGOption
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