pub enum GlTextureFormat {
Red,
Luminance,
Rgb,
Rgba,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GlTextureFormat
impl Clone for GlTextureFormat
Source§fn clone(&self) -> GlTextureFormat
fn clone(&self) -> GlTextureFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GlTextureFormat
impl Debug for GlTextureFormat
Source§impl PartialEq for GlTextureFormat
impl PartialEq for GlTextureFormat
Source§fn eq(&self, other: &GlTextureFormat) -> bool
fn eq(&self, other: &GlTextureFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GlTextureFormat
impl Eq for GlTextureFormat
impl StructuralPartialEq for GlTextureFormat
Auto Trait Implementations§
impl Freeze for GlTextureFormat
impl RefUnwindSafe for GlTextureFormat
impl Send for GlTextureFormat
impl Sync for GlTextureFormat
impl Unpin for GlTextureFormat
impl UnsafeUnpin for GlTextureFormat
impl UnwindSafe for GlTextureFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more