pub enum TextureMapping {
UV,
Sphere,
Cylinder,
Box,
Plane,
Other(u32),
}Expand description
Texture mapping modes
Variants§
UV
UV coordinate mapping
Sphere
Spherical mapping
Cylinder
Cylindrical mapping
Box
Box mapping
Plane
Planar mapping
Other(u32)
Other mapping mode
Trait Implementations§
Source§impl Clone for TextureMapping
impl Clone for TextureMapping
Source§fn clone(&self) -> TextureMapping
fn clone(&self) -> TextureMapping
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 TextureMapping
impl Debug for TextureMapping
Source§impl PartialEq for TextureMapping
impl PartialEq for TextureMapping
impl Copy for TextureMapping
impl Eq for TextureMapping
impl StructuralPartialEq for TextureMapping
Auto Trait Implementations§
impl Freeze for TextureMapping
impl RefUnwindSafe for TextureMapping
impl Send for TextureMapping
impl Sync for TextureMapping
impl Unpin for TextureMapping
impl UnwindSafe for TextureMapping
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