#[repr(C)]pub struct Vertex3D {
pub position: Vec3,
pub normal: Vec3,
pub uv: (f32, f32),
}Expand description
An interleaved 3D vertex with position, normal, and UV coordinates.
Fields§
§position: Vec3§normal: Vec3§uv: (f32, f32)Implementations§
Trait Implementations§
impl Copy for Vertex3D
impl StructuralPartialEq for Vertex3D
Auto Trait Implementations§
impl Forget for Vertex3D
impl Freeze for Vertex3D
impl Move for Vertex3D
impl RefUnwindSafe for Vertex3D
impl Send for Vertex3D
impl Sync for Vertex3D
impl Unpin for Vertex3D
impl UnsafeUnpin for Vertex3D
impl UnwindSafe for Vertex3D
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