#[repr(C)]pub struct Vertex {
pub position: [f32; 2],
}
Fields§
§position: [f32; 2]
Trait Implementations§
source§impl PartialEq for Vertex
impl PartialEq for Vertex
impl Copy for Vertex
impl Pod for Vertex
impl StructuralPartialEq for Vertex
Auto Trait Implementations§
impl RefUnwindSafe for Vertex
impl Send for Vertex
impl Sync for Vertex
impl Unpin for Vertex
impl UnwindSafe for Vertex
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