pub struct SolidVertex {
pub x: f32,
pub y: f32,
pub color: u32,
}Expand description
A vertex of a solid-colour mesh.
Fields§
§x: f32The horizontal position, in canvas pixels.
y: f32The vertical position, in canvas pixels.
color: u32The packed colour, as 0xRRGGBBAA.
Trait Implementations§
Source§impl Clone for SolidVertex
impl Clone for SolidVertex
impl Copy for SolidVertex
Source§impl Debug for SolidVertex
impl Debug for SolidVertex
Source§impl Default for SolidVertex
impl Default for SolidVertex
Source§impl PartialEq for SolidVertex
impl PartialEq for SolidVertex
impl StructuralPartialEq for SolidVertex
Auto Trait Implementations§
impl Freeze for SolidVertex
impl RefUnwindSafe for SolidVertex
impl Send for SolidVertex
impl Sync for SolidVertex
impl Unpin for SolidVertex
impl UnsafeUnpin for SolidVertex
impl UnwindSafe for SolidVertex
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