pub struct TypeProperties {
pub destination_type: Option<String>,
pub transparent: bool,
pub prescale: bool,
pub ncolors: Option<String>,
pub quality: Option<u32>,
pub unit: String,
pub raster: Option<bool>,
pub autocrop: bool,
pub desirability: u32,
}Expand description
Properties for a graphics file type.
Fields§
§destination_type: Option<String>§transparent: bool§prescale: bool§ncolors: Option<String>§quality: Option<u32>§unit: String§raster: Option<bool>§autocrop: bool§desirability: u32Trait Implementations§
Source§impl Clone for TypeProperties
impl Clone for TypeProperties
Source§fn clone(&self) -> TypeProperties
fn clone(&self) -> TypeProperties
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TypeProperties
impl Debug for TypeProperties
Auto Trait Implementations§
impl Freeze for TypeProperties
impl RefUnwindSafe for TypeProperties
impl Send for TypeProperties
impl Sync for TypeProperties
impl Unpin for TypeProperties
impl UnsafeUnpin for TypeProperties
impl UnwindSafe for TypeProperties
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