#[repr(C)]pub struct _spinPNGOption {
pub interlaced: bool8_t,
pub compressionLevel: c_uint,
pub reserved: [c_uint; 16],
}Expand description
Options for saving PNG images. Used in saving PNG images with a call to spinImageSavePng().
Fields§
§interlaced: bool8_tWhether to save the PNG as interlaced.
compressionLevel: c_uintCompression level (0-9). 0 is no compression, 9 is best compression.
reserved: [c_uint; 16]Reserved for future use.
Trait Implementations§
Source§impl Clone for _spinPNGOption
impl Clone for _spinPNGOption
Source§fn clone(&self) -> _spinPNGOption
fn clone(&self) -> _spinPNGOption
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 _spinPNGOption
impl Debug for _spinPNGOption
impl Copy for _spinPNGOption
Auto Trait Implementations§
impl Freeze for _spinPNGOption
impl RefUnwindSafe for _spinPNGOption
impl Send for _spinPNGOption
impl Sync for _spinPNGOption
impl Unpin for _spinPNGOption
impl UnwindSafe for _spinPNGOption
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