Enum gfx_core::texture::Mipmap[][src]

#[repr(u8)]
pub enum Mipmap {
    Provided,
    Allocated,
}

The marker for the texture initializer to generate extra space for the mipmap generation.

Variants

Provided

The mipmap data is provided as a part of bitmap data.

Allocated

The mipmap data is not provided, but the memory for it should be allocated for the later generation/

Trait Implementations

impl Clone for Mipmap[src]

impl Copy for Mipmap[src]

impl Debug for Mipmap[src]

impl Eq for Mipmap[src]

impl Hash for Mipmap[src]

impl Ord for Mipmap[src]

impl PartialEq<Mipmap> for Mipmap[src]

impl PartialOrd<Mipmap> for Mipmap[src]

impl StructuralEq for Mipmap[src]

impl StructuralPartialEq for Mipmap[src]

Auto Trait Implementations

impl RefUnwindSafe for Mipmap

impl Send for Mipmap

impl Sync for Mipmap

impl Unpin for Mipmap

impl UnwindSafe for Mipmap

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.