Enum jpeg_encoder::Density
source · [−]Expand description
Density settings
Variants
None
No pixel density is set, which means “1 pixel per pixel”
Inch
Horizontal and vertical dots per inch (dpi)
Centimeter
Horizontal and vertical dots per centimeters
Trait Implementations
impl Copy for Density
impl Eq for Density
impl StructuralEq for Density
impl StructuralPartialEq for Density
Auto Trait Implementations
impl RefUnwindSafe for Density
impl Send for Density
impl Sync for Density
impl Unpin for Density
impl UnwindSafe for Density
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more