Enum bgfx_rs::static_lib::UniformType
source · [−]#[repr(u32)]
pub enum UniformType {
Sampler,
End,
Vec4,
Mat3,
Mat4,
Count,
}
Expand description
Uniform type enum.
Variants
Sampler
Sampler.
End
Reserved, do not use.
Vec4
4 floats vector.
Mat3
3x3 matrix.
Mat4
4x4 matrix.
Count
Number of entries in the enum
Trait Implementations
sourceimpl Clone for UniformType
impl Clone for UniformType
sourcefn clone(&self) -> UniformType
fn clone(&self) -> UniformType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UniformType
impl Debug for UniformType
sourceimpl PartialEq<UniformType> for UniformType
impl PartialEq<UniformType> for UniformType
impl Copy for UniformType
impl StructuralPartialEq for UniformType
Auto Trait Implementations
impl RefUnwindSafe for UniformType
impl Send for UniformType
impl Sync for UniformType
impl Unpin for UniformType
impl UnwindSafe for UniformType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more