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