Struct geng_draw2d::TexturedVertex
source · pub struct TexturedVertex {
pub a_pos: vec2<f32>,
pub a_color: Rgba<f32>,
pub a_vt: vec2<f32>,
}
Fields§
§a_pos: vec2<f32>
§a_color: Rgba<f32>
§a_vt: vec2<f32>
Trait Implementations§
source§impl Clone for TexturedVertex
impl Clone for TexturedVertex
source§fn clone(&self) -> TexturedVertex
fn clone(&self) -> TexturedVertex
Returns a copy 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 moresource§impl Debug for TexturedVertex
impl Debug for TexturedVertex
source§impl Vertex for TexturedVertex
impl Vertex for TexturedVertex
fn walk_attributes(visitor: impl VertexAttributeVisitor)
impl Copy for TexturedVertex
Auto Trait Implementations§
impl RefUnwindSafe for TexturedVertex
impl Send for TexturedVertex
impl Sync for TexturedVertex
impl Unpin for TexturedVertex
impl UnwindSafe for TexturedVertex
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