pub struct CompressSource(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl CompressSource
impl CompressSource
pub const GENERIC: CompressSource
pub const SRGB: CompressSource
pub const NORMAL: CompressSource
pub const LAYERED: CompressSource
Trait Implementations§
Source§impl Clone for CompressSource
impl Clone for CompressSource
Source§fn clone(&self) -> CompressSource
fn clone(&self) -> CompressSource
Returns a duplicate 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 CompressSource
impl Debug for CompressSource
Source§impl From<CompressSource> for i64
impl From<CompressSource> for i64
Source§fn from(v: CompressSource) -> Self
fn from(v: CompressSource) -> Self
Converts to this type from the input type.
Source§impl From<i64> for CompressSource
impl From<i64> for CompressSource
Source§impl FromVariant for CompressSource
impl FromVariant for CompressSource
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for CompressSource
impl Hash for CompressSource
Source§impl Ord for CompressSource
impl Ord for CompressSource
Source§fn cmp(&self, other: &CompressSource) -> Ordering
fn cmp(&self, other: &CompressSource) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CompressSource
impl PartialEq for CompressSource
Source§impl PartialOrd for CompressSource
impl PartialOrd for CompressSource
impl Copy for CompressSource
impl Eq for CompressSource
impl StructuralPartialEq for CompressSource
Auto Trait Implementations§
impl Freeze for CompressSource
impl RefUnwindSafe for CompressSource
impl Send for CompressSource
impl Sync for CompressSource
impl Unpin for CompressSource
impl UnwindSafe for CompressSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.