Enum glitter::texture::Tx2dImageTarget
[−]
[src]
pub enum Tx2dImageTarget { Texture2d, }
The possible image targets for GL_TEXTURE_2D
(only one variant,
since this is the 2D texture).
Variants
Texture2d
The only possible target for a 2-dimensional texture.
Trait Implementations
impl Debug for Tx2dImageTarget
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Tx2dImageTarget
[src]
fn clone(&self) -> Tx2dImageTarget
[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 Copy for Tx2dImageTarget
[src]
impl PartialEq for Tx2dImageTarget
[src]
fn eq(&self, __arg_0: &Tx2dImageTarget) -> 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 !=
.
impl Eq for Tx2dImageTarget
[src]
impl ImageTargetType for Tx2dImageTarget
[src]
impl From<VariantTexture2d> for Tx2dImageTarget
[src]
fn from(_: VariantTexture2d) -> Tx2dImageTarget
[src]
Performs the conversion.