[][src]Enum nvtt_rs::Format

#[repr(u8)]
pub enum Format {
    Bc1,
    Bc1a,
    Bc2,
    Bc3,
    Bc3n,
    Bc3_Rgbm,
    Bc4,
    Bc5,
    Bc6,
    Bc7,
    Ctx1,
    Dxt1,
    Dxt1a,
    Dxt1n,
    Dxt3,
    Dxt5,
    Dxt5n,
    Etc1,
    Etc2_R,
    Etc2_Rg,
    Etc2_Rgb,
    Etc2_Rgba,
    Etc2_Rgbm,
    Etc2_Rgb_A1,
    Pvr_2Bpp_Rgb,
    Pvr_2Bpp_Rgba,
    Pvr_4Bpp_Rgb,
    Pvr_4Bpp_Rgba,
    Rgb,
    Rgba,
}

Variants

Bc1
Bc1a
Bc2
Bc3
Bc3n
Bc3_Rgbm
Bc4
Bc5
Bc6
Bc7
Ctx1
Dxt1
Dxt1a
Dxt1n
Dxt3
Dxt5
Dxt5n
Etc1
Etc2_R
Etc2_Rg
Etc2_Rgb
Etc2_Rgba
Etc2_Rgbm
Etc2_Rgb_A1
Pvr_2Bpp_Rgb
Pvr_2Bpp_Rgba
Pvr_4Bpp_Rgb
Pvr_4Bpp_Rgba
Rgb
Rgba

Methods

impl Format[src]

pub fn file_extension(&self) -> Option<&Path>[src]

Trait Implementations

impl<'_> From<&'_ Format> for NvttFormat[src]

impl From<Format> for NvttFormat[src]

impl Clone for Format[src]

impl Copy for Format[src]

impl Eq for Format[src]

impl PartialEq<Format> for Format[src]

impl PartialEq<u32> for Format[src]

impl PartialEq<Format> for NvttFormat[src]

impl Debug for Format[src]

impl TryFrom<u32> for Format[src]

type Error = ()

The type returned in the event of a conversion error.

impl Hash for Format[src]

impl StructuralPartialEq for Format[src]

impl StructuralEq for Format[src]

Auto Trait Implementations

impl Send for Format

impl Sync for Format

impl Unpin for Format

impl UnwindSafe for Format

impl RefUnwindSafe for Format

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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