pub enum EffectValue {
F32(f32),
I32(i32),
U32(u32),
Bool(bool),
Vec2([f32; 2]),
Vec3([f32; 3]),
Vec4([f32; 4]),
Mat3([f32; 9]),
Mat4([f32; 16]),
Color(Color),
LogicalPixels(f32),
}Variants§
F32(f32)
I32(i32)
U32(u32)
Bool(bool)
Vec2([f32; 2])
Vec3([f32; 3])
Vec4([f32; 4])
Mat3([f32; 9])
Mat4([f32; 16])
Color(Color)
LogicalPixels(f32)
Implementations§
Source§impl EffectValue
impl EffectValue
Trait Implementations§
Source§impl Clone for EffectValue
impl Clone for EffectValue
Source§fn clone(&self) -> EffectValue
fn clone(&self) -> EffectValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EffectValue
impl Debug for EffectValue
Source§impl PartialEq for EffectValue
impl PartialEq for EffectValue
impl StructuralPartialEq for EffectValue
Auto Trait Implementations§
impl Freeze for EffectValue
impl RefUnwindSafe for EffectValue
impl Send for EffectValue
impl Sync for EffectValue
impl Unpin for EffectValue
impl UnsafeUnpin for EffectValue
impl UnwindSafe for EffectValue
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