[][src]Enum nvtt_rs::OutputLocation

pub enum OutputLocation<'a> {
    File(&'a Path),
    Buffer,
}

This enum is used to define the output location of the compressed texture data.

See the method OutputOptions::set_output_location for more information.

Variants

File(&'a Path)

Output the texture to the file specified by the Path.

Buffer

Output the texture into an in-memory buffer. This will be returned by Compressor::compress.

Trait Implementations

impl<'a> Clone for OutputLocation<'a>[src]

impl<'a> Debug for OutputLocation<'a>[src]

impl<'a> Eq for OutputLocation<'a>[src]

impl<'a, P: 'a + ?Sized + AsRef<Path>> From<&'a P> for OutputLocation<'a>[src]

impl<'a> Hash for OutputLocation<'a>[src]

impl<'a> PartialEq<OutputLocation<'a>> for OutputLocation<'a>[src]

impl<'a> StructuralEq for OutputLocation<'a>[src]

impl<'a> StructuralPartialEq for OutputLocation<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for OutputLocation<'a>

impl<'a> Send for OutputLocation<'a>

impl<'a> Sync for OutputLocation<'a>

impl<'a> Unpin for OutputLocation<'a>

impl<'a> UnwindSafe for OutputLocation<'a>

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.