Enum gfx::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]
fn clone(&self) -> Mipmap
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Mipmap
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Ord for Mipmap
[src]
impl Eq for Mipmap
[src]
impl Copy for Mipmap
[src]
impl PartialOrd<Mipmap> for Mipmap
[src]
fn partial_cmp(&self, __arg_0: &Mipmap) -> Option<Ordering>
[src]
impl PartialEq<Mipmap> for Mipmap
[src]
fn eq(&self, __arg_0: &Mipmap) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.