pub struct ImageFormat {
pub height: Option<usize>,
pub width: Option<usize>,
pub quality: Option<u8>,
pub name: Option<String>,
/* private fields */
}
Fields§
§height: Option<usize>
§width: Option<usize>
§quality: Option<u8>
§name: Option<String>
Implementations§
Source§impl ImageFormat
impl ImageFormat
Trait Implementations§
Source§impl Clone for ImageFormat
impl Clone for ImageFormat
Source§fn clone(&self) -> ImageFormat
fn clone(&self) -> ImageFormat
Returns a copy 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 ImageFormat
impl Debug for ImageFormat
Source§impl Default for ImageFormat
impl Default for ImageFormat
Source§fn default() -> ImageFormat
fn default() -> ImageFormat
Returns the “default value” for a type. Read more
Source§impl Deref for ImageFormat
impl Deref for ImageFormat
Source§impl PartialEq for ImageFormat
impl PartialEq for ImageFormat
impl Eq for ImageFormat
impl StructuralPartialEq for ImageFormat
Auto Trait Implementations§
impl Freeze for ImageFormat
impl RefUnwindSafe for ImageFormat
impl Send for ImageFormat
impl Sync for ImageFormat
impl Unpin for ImageFormat
impl UnwindSafe for ImageFormat
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