pub struct ImageQuality(/* private fields */);Expand description
The quality one lossy picture may be encoded at. The legal domain is
0..=max: the maximum is admitted and one more is refused, because a
caller that asks for more has asked for something no encoder has, and
a clamped answer tells it the picture is better than it is.
Implementations§
Trait Implementations§
Source§impl Clone for ImageQuality
impl Clone for ImageQuality
impl Copy for ImageQuality
Source§impl Debug for ImageQuality
impl Debug for ImageQuality
impl Eq for ImageQuality
Source§impl PartialEq for ImageQuality
impl PartialEq for ImageQuality
impl StructuralPartialEq for ImageQuality
Auto Trait Implementations§
impl Freeze for ImageQuality
impl RefUnwindSafe for ImageQuality
impl Send for ImageQuality
impl Sync for ImageQuality
impl Unpin for ImageQuality
impl UnsafeUnpin for ImageQuality
impl UnwindSafe for ImageQuality
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