pub struct EncodeConfig {
pub quality: u8,
pub format: ImageFormat,
}Fields§
§quality: u8§format: ImageFormatTrait Implementations§
Source§impl Clone for EncodeConfig
impl Clone for EncodeConfig
Source§fn clone(&self) -> EncodeConfig
fn clone(&self) -> EncodeConfig
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 moreAuto Trait Implementations§
impl Freeze for EncodeConfig
impl RefUnwindSafe for EncodeConfig
impl Send for EncodeConfig
impl Sync for EncodeConfig
impl Unpin for EncodeConfig
impl UnsafeUnpin for EncodeConfig
impl UnwindSafe for EncodeConfig
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