pub enum TextureMapMode {
Wrap,
Clamp,
Mirror,
Decal,
Other(u32),
}Expand description
Texture mapping modes for UV coordinates
Variants§
Wrap
Wrap texture coordinates
Clamp
Clamp texture coordinates to edge
Mirror
Mirror texture coordinates
Decal
Decal texture mode
Other(u32)
Other texture map mode
Trait Implementations§
Source§impl Clone for TextureMapMode
impl Clone for TextureMapMode
Source§fn clone(&self) -> TextureMapMode
fn clone(&self) -> TextureMapMode
Returns a duplicate of the value. Read more
1.0.0 · 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 TextureMapMode
impl Debug for TextureMapMode
Source§impl PartialEq for TextureMapMode
impl PartialEq for TextureMapMode
impl Copy for TextureMapMode
impl Eq for TextureMapMode
impl StructuralPartialEq for TextureMapMode
Auto Trait Implementations§
impl Freeze for TextureMapMode
impl RefUnwindSafe for TextureMapMode
impl Send for TextureMapMode
impl Sync for TextureMapMode
impl Unpin for TextureMapMode
impl UnwindSafe for TextureMapMode
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