#[repr(C)]pub struct GpuPathSegment {
pub p0: [f32; 2],
pub p1: [f32; 2],
pub p2: [f32; 2],
pub stroke_width: f32,
pub flags: u32,
pub color: [f32; 4],
pub z_index: f32,
pub _pad0: f32,
pub _pad1: f32,
pub _pad2: f32,
}Expand description
64-byte aligned output quadratic segment produced by compute shaders or CPU fallback.
Fields§
§p0: [f32; 2]§p1: [f32; 2]§p2: [f32; 2]§stroke_width: f32§flags: u32§color: [f32; 4]§z_index: f32§_pad0: f32§_pad1: f32§_pad2: f32Implementations§
Trait Implementations§
Source§impl Clone for GpuPathSegment
impl Clone for GpuPathSegment
impl Copy for GpuPathSegment
Source§impl Debug for GpuPathSegment
impl Debug for GpuPathSegment
Source§impl PartialEq for GpuPathSegment
impl PartialEq for GpuPathSegment
impl StructuralPartialEq for GpuPathSegment
Auto Trait Implementations§
impl Forget for GpuPathSegment
impl Freeze for GpuPathSegment
impl Move for GpuPathSegment
impl RefUnwindSafe for GpuPathSegment
impl Send for GpuPathSegment
impl Sync for GpuPathSegment
impl Unpin for GpuPathSegment
impl UnsafeUnpin for GpuPathSegment
impl UnwindSafe for GpuPathSegment
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