pub struct CompressionProfile {
pub id: &'static str,
pub display_name: &'static str,
pub default_mode: EfficientMode,
pub description: &'static str,
}Expand description
One named profile: stable id, human label, and default eco mode.
Fields§
§id: &'static str§display_name: &'static str§default_mode: EfficientMode§description: &'static strTrait Implementations§
Source§impl Clone for CompressionProfile
impl Clone for CompressionProfile
Source§fn clone(&self) -> CompressionProfile
fn clone(&self) -> CompressionProfile
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 CompressionProfile
impl Debug for CompressionProfile
Source§impl PartialEq for CompressionProfile
impl PartialEq for CompressionProfile
Source§fn eq(&self, other: &CompressionProfile) -> bool
fn eq(&self, other: &CompressionProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CompressionProfile
impl Eq for CompressionProfile
impl StructuralPartialEq for CompressionProfile
Auto Trait Implementations§
impl Freeze for CompressionProfile
impl RefUnwindSafe for CompressionProfile
impl Send for CompressionProfile
impl Sync for CompressionProfile
impl Unpin for CompressionProfile
impl UnsafeUnpin for CompressionProfile
impl UnwindSafe for CompressionProfile
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