#[repr(u8)]pub enum ProceduralTextureMappingFunction {
U = 0,
U2 = 1,
V = 2,
V2 = 3,
Add = 4,
Add2 = 5,
Sqrt2 = 6,
Min = 7,
Max = 8,
RMax = 9,
}Expand description
Procedural texture mapping functions.
Variants§
U = 0
U
U2 = 1
U2
V = 2
V
V2 = 3
V2
Add = 4
U+V
Add2 = 5
U2+V2
Sqrt2 = 6
sqrt(U2+V2)
Min = 7
min
Max = 8
max
RMax = 9
rmax
Trait Implementations§
Source§impl Clone for ProceduralTextureMappingFunction
impl Clone for ProceduralTextureMappingFunction
Source§fn clone(&self) -> ProceduralTextureMappingFunction
fn clone(&self) -> ProceduralTextureMappingFunction
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProceduralTextureMappingFunction
impl Debug for ProceduralTextureMappingFunction
Source§impl PartialEq for ProceduralTextureMappingFunction
impl PartialEq for ProceduralTextureMappingFunction
Source§impl TryFrom<u8> for ProceduralTextureMappingFunction
impl TryFrom<u8> for ProceduralTextureMappingFunction
impl Copy for ProceduralTextureMappingFunction
impl Eq for ProceduralTextureMappingFunction
impl StructuralPartialEq for ProceduralTextureMappingFunction
Auto Trait Implementations§
impl Freeze for ProceduralTextureMappingFunction
impl RefUnwindSafe for ProceduralTextureMappingFunction
impl Send for ProceduralTextureMappingFunction
impl Sync for ProceduralTextureMappingFunction
impl Unpin for ProceduralTextureMappingFunction
impl UnwindSafe for ProceduralTextureMappingFunction
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)