[][src]Enum nvtt_rs::Container

pub enum Container {
    Dds,
    Dds10,
    Ktx,
}

The container format used to store the texture data.

Variants

Dds

Dds container. This is used to contain data compressed in the dxt format.

Dds10

Dds10 container. This is used to contain data compressed in the dxt format.

Ktx

Ktx container. This is used to contain data compressed in the etc format.

Implementations

impl Container[src]

pub fn file_extension(&self) -> &OsStr[src]

Gets the file extension of files used for the container.

Trait Implementations

impl Clone for Container[src]

impl Copy for Container[src]

impl Debug for Container[src]

impl Eq for Container[src]

impl<'_> From<&'_ Container> for NvttContainer[src]

impl From<Container> for NvttContainer[src]

impl Hash for Container[src]

impl PartialEq<Container> for Container[src]

impl PartialEq<Container> for NvttContainer[src]

impl PartialEq<u32> for Container[src]

impl StructuralEq for Container[src]

impl StructuralPartialEq for Container[src]

impl TryFrom<u32> for Container[src]

type Error = EnumConvertError<NvttContainer>

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.