[][src]Enum nvtt_rs::InputFormat

pub enum InputFormat {
    Bgra8Ub,
    Rgba16F,
    Rgba32F,
    R32F,
}

Specify the color format of the input image.

Variants

Bgra8Ub

4 unsigned byte channels comprised of blue, green, red and alpha.

Rgba16F

4 16-bit float channels comprised of red, green, blue and alpha.

Rgba32F

4 32-bit float channels comprised of red, green, blue and alpha.

R32F

A single 32 bit floating point channel.

Trait Implementations

impl Clone for InputFormat[src]

impl Copy for InputFormat[src]

impl Debug for InputFormat[src]

impl Eq for InputFormat[src]

impl<'_> From<&'_ InputFormat> for NvttInputFormat[src]

impl From<InputFormat> for NvttInputFormat[src]

impl Hash for InputFormat[src]

impl PartialEq<InputFormat> for InputFormat[src]

impl PartialEq<InputFormat> for NvttInputFormat[src]

impl PartialEq<u32> for InputFormat[src]

impl StructuralEq for InputFormat[src]

impl StructuralPartialEq for InputFormat[src]

impl TryFrom<u32> for InputFormat[src]

type Error = EnumConvertError<NvttInputFormat>

The type returned in the event of a conversion error.

Auto Trait Implementations

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.