#[non_exhaustive]pub enum VertexFormat {
F32,
F32x2,
F32x3,
F32x4,
U32,
U32x2,
U32x4,
Unorm8x4,
}Expand description
vertex attribute formats
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for VertexFormat
impl Clone for VertexFormat
impl Copy for VertexFormat
Source§impl Debug for VertexFormat
impl Debug for VertexFormat
impl Eq for VertexFormat
Source§impl PartialEq for VertexFormat
impl PartialEq for VertexFormat
impl StructuralPartialEq for VertexFormat
Auto Trait Implementations§
impl Forget for VertexFormat
impl Freeze for VertexFormat
impl RefUnwindSafe for VertexFormat
impl Send for VertexFormat
impl Sync for VertexFormat
impl Unpin for VertexFormat
impl UnsafeUnpin for VertexFormat
impl UnwindSafe for VertexFormat
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