pub enum UniformType {
Color(UniformColor),
Vec4(UniformVec4),
Vec3(UniformVec3),
Vec2(UniformVec2),
Float(UniformFloat),
}
Variants§
Trait Implementations§
Source§impl Clone for UniformType
impl Clone for UniformType
Source§fn clone(&self) -> UniformType
fn clone(&self) -> UniformType
Returns a copy 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 Hash for UniformType
impl Hash for UniformType
Source§impl PartialEq for UniformType
impl PartialEq for UniformType
impl StructuralPartialEq for UniformType
Auto Trait Implementations§
impl Freeze for UniformType
impl RefUnwindSafe for UniformType
impl Send for UniformType
impl Sync for UniformType
impl Unpin for UniformType
impl UnwindSafe for UniformType
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