[][src]Enum astcenc_rs::Preset

pub enum Preset {
    Fast,
    Medium,
    Thorough,
    Exhaustive,
}

The performance preset, higher settings take more time but provide higher quality. It will not provide better compression at higher settings, compression is decided only by the block size.

Variants

Fast

The fastest, but lowest-quality setting

Medium

A good balance of speed and quality

Thorough

Slower, but higher quality

Exhaustive

Disregard any performance concerns, focus on quality only

Trait Implementations

impl Clone for Preset[src]

impl Copy for Preset[src]

impl Debug for Preset[src]

impl Default for Preset[src]

impl Eq for Preset[src]

impl Hash for Preset[src]

impl Ord for Preset[src]

impl PartialEq<Preset> for Preset[src]

impl PartialOrd<Preset> for Preset[src]

impl StructuralEq for Preset[src]

impl StructuralPartialEq for Preset[src]

Auto Trait Implementations

impl RefUnwindSafe for Preset

impl Send for Preset

impl Sync for Preset

impl Unpin for Preset

impl UnwindSafe for Preset

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.