Enum gltf_json::texture::WrappingMode [−][src]
pub enum WrappingMode {
ClampToEdge,
MirroredRepeat,
Repeat,
}Texture co-ordinate wrapping mode.
Variants
ClampToEdgeCorresponds to GL_CLAMP_TO_EDGE.
MirroredRepeatCorresponds to GL_MIRRORED_REPEAT.
RepeatCorresponds to GL_REPEAT.
Methods
impl WrappingMode[src]
impl WrappingModepub fn as_gl_enum(&self) -> u32[src]
pub fn as_gl_enum(&self) -> u32Returns the corresponding OpenGL enum value.
Trait Implementations
impl Clone for WrappingMode[src]
impl Clone for WrappingModefn clone(&self) -> WrappingMode[src]
fn clone(&self) -> WrappingModeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for WrappingMode[src]
impl Copy for WrappingModeimpl Debug for WrappingMode[src]
impl Debug for WrappingModefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for WrappingMode[src]
impl Eq for WrappingModeimpl PartialEq for WrappingMode[src]
impl PartialEq for WrappingModefn eq(&self, other: &WrappingMode) -> bool[src]
fn eq(&self, other: &WrappingMode) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Default for WrappingMode[src]
impl Default for WrappingModeimpl Serialize for WrappingMode[src]
impl Serialize for WrappingModeAuto Trait Implementations
impl Send for WrappingMode
impl Send for WrappingModeimpl Sync for WrappingMode
impl Sync for WrappingMode