Struct ktx2::SupercompressionScheme
source · pub struct SupercompressionScheme(pub NonZeroU32);
Expand description
Known supercompression schemes
Tuple Fields§
§0: NonZeroU32
Implementations§
Trait Implementations§
source§impl Clone for SupercompressionScheme
impl Clone for SupercompressionScheme
source§fn clone(&self) -> SupercompressionScheme
fn clone(&self) -> SupercompressionScheme
Returns a copy 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 SupercompressionScheme
impl Debug for SupercompressionScheme
source§impl Hash for SupercompressionScheme
impl Hash for SupercompressionScheme
source§impl Ord for SupercompressionScheme
impl Ord for SupercompressionScheme
source§fn cmp(&self, other: &SupercompressionScheme) -> Ordering
fn cmp(&self, other: &SupercompressionScheme) -> 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 SupercompressionScheme
impl PartialEq for SupercompressionScheme
source§fn eq(&self, other: &SupercompressionScheme) -> bool
fn eq(&self, other: &SupercompressionScheme) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SupercompressionScheme
impl PartialOrd for SupercompressionScheme
source§fn partial_cmp(&self, other: &SupercompressionScheme) -> Option<Ordering>
fn partial_cmp(&self, other: &SupercompressionScheme) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SupercompressionScheme
impl Eq for SupercompressionScheme
impl StructuralEq for SupercompressionScheme
impl StructuralPartialEq for SupercompressionScheme
Auto Trait Implementations§
impl RefUnwindSafe for SupercompressionScheme
impl Send for SupercompressionScheme
impl Sync for SupercompressionScheme
impl Unpin for SupercompressionScheme
impl UnwindSafe for SupercompressionScheme
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