[][src]Enum glium::texture::CompressedMipmapsOption

pub enum CompressedMipmapsOption {
    NoMipmap,
    EmptyMipmaps,
    EmptyMipmapsMax(u32),
}

Describes what to do about mipmaps during compressed texture creation.

Variants

NoMipmap

No mipmaps will be allocated or generated.

EmptyMipmaps

Allocates space for all the possible amount of mipmaps given the texture dimensions.

EmptyMipmapsMax(u32)

Allocates space for the specified amount of mipmaps (excluding the top level) but does not generate mipmaps.

Trait Implementations

impl Clone for CompressedMipmapsOption[src]

impl Copy for CompressedMipmapsOption[src]

impl Debug for CompressedMipmapsOption[src]

impl Eq for CompressedMipmapsOption[src]

impl From<CompressedMipmapsOption> for MipmapsOption[src]

impl PartialEq<CompressedMipmapsOption> for CompressedMipmapsOption[src]

impl StructuralEq for CompressedMipmapsOption[src]

impl StructuralPartialEq for CompressedMipmapsOption[src]

Auto Trait Implementations

impl RefUnwindSafe for CompressedMipmapsOption

impl Send for CompressedMipmapsOption

impl Sync for CompressedMipmapsOption

impl Unpin for CompressedMipmapsOption

impl UnwindSafe for CompressedMipmapsOption

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> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

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.