[][src]Enum nvtt_rs::Quality

pub enum Quality {
    Fastest,
    Highest,
    Normal,
    Production,
}

Specify the quality level of the compression output.

Variants

Fastest

Produces the lowest quality level, but at the fastest speed.

Highest

Produces the highest quality compression output.

Normal

Provides a medium quality level, trading off between processing time and output quality.

This is the default quality.

Production

Equivalent to Quality::Highest.

Trait Implementations

impl Clone for Quality[src]

impl Copy for Quality[src]

impl Debug for Quality[src]

impl Default for Quality[src]

impl Eq for Quality[src]

impl<'_> From<&'_ Quality> for NvttQuality[src]

impl From<Quality> for NvttQuality[src]

impl Hash for Quality[src]

impl PartialEq<Quality> for Quality[src]

impl PartialEq<Quality> for NvttQuality[src]

impl PartialEq<u32> for Quality[src]

impl StructuralEq for Quality[src]

impl StructuralPartialEq for Quality[src]

impl TryFrom<u32> for Quality[src]

type Error = EnumConvertError<NvttQuality>

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Quality

impl Send for Quality

impl Sync for Quality

impl Unpin for Quality

impl UnwindSafe for Quality

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.