Enum uni_gl::TextureKind
source · [−]pub enum TextureKind {
Texture2d,
TextureCubeMap,
}
Expand description
WebGLRenderingContext.texParameterfi or WebGLRenderingContext.bindTexture() “target” parameter
Variants
Texture2d
TextureCubeMap
Trait Implementations
sourceimpl Clone for TextureKind
impl Clone for TextureKind
sourcefn clone(&self) -> TextureKind
fn clone(&self) -> TextureKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TextureKind
impl Debug for TextureKind
impl Copy for TextureKind
Auto Trait Implementations
impl RefUnwindSafe for TextureKind
impl Send for TextureKind
impl Sync for TextureKind
impl Unpin for TextureKind
impl UnwindSafe for TextureKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more