#[repr(C)]pub struct Vertex2D {
pub position: Vec2f,
pub texcoord: Vec2f,
}Expand description
Generic structure for simple 2D textured meshes
Fields§
§position: Vec2f§texcoord: Vec2fTrait Implementations§
Auto Trait Implementations§
impl Freeze for Vertex2D
impl RefUnwindSafe for Vertex2D
impl Send for Vertex2D
impl Sync for Vertex2D
impl Unpin for Vertex2D
impl UnsafeUnpin for Vertex2D
impl UnwindSafe for Vertex2D
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