Enum bgfx_rs::static_lib::AttribType
source · [−]#[repr(u32)]
pub enum AttribType {
Uint8,
Uint10,
Int16,
Half,
Float,
Count,
}
Expand description
Vertex attribute type enum.
Variants
Uint8
Uint8
Uint10
Uint10, availability depends on: BGFX_CAPS_VERTEX_ATTRIB_UINT10
.
Int16
Int16
Half
Half, availability depends on: BGFX_CAPS_VERTEX_ATTRIB_HALF
.
Float
Float
Count
Number of entries in the enum
Trait Implementations
sourceimpl Clone for AttribType
impl Clone for AttribType
sourcefn clone(&self) -> AttribType
fn clone(&self) -> AttribType
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 AttribType
impl Debug for AttribType
sourceimpl PartialEq<AttribType> for AttribType
impl PartialEq<AttribType> for AttribType
impl Copy for AttribType
impl StructuralPartialEq for AttribType
Auto Trait Implementations
impl RefUnwindSafe for AttribType
impl Send for AttribType
impl Sync for AttribType
impl Unpin for AttribType
impl UnwindSafe for AttribType
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