#[repr(C, packed(1))]pub struct TexturedY8Vertex {
pub pos: [f32; 2],
pub tex_coords: [f32; 2],
pub color: [f32; 4],
}Fields§
§pos: [f32; 2]§tex_coords: [f32; 2]§color: [f32; 4]Implementations§
Trait Implementations§
Source§impl Clone for TexturedY8Vertex
impl Clone for TexturedY8Vertex
Source§fn clone(&self) -> TexturedY8Vertex
fn clone(&self) -> TexturedY8Vertex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TexturedY8Vertex
Auto Trait Implementations§
impl Freeze for TexturedY8Vertex
impl RefUnwindSafe for TexturedY8Vertex
impl Send for TexturedY8Vertex
impl Sync for TexturedY8Vertex
impl Unpin for TexturedY8Vertex
impl UnsafeUnpin for TexturedY8Vertex
impl UnwindSafe for TexturedY8Vertex
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