#[repr(C)]pub struct Dwg_HATCH_Color {
pub parent: *mut c_void,
pub shift_value: BITCODE_BD,
pub color: Dwg_Color,
}Expand description
_dwg_HATCH_Color (dwg.h) – one gradient-fill color stop: shift_value
(0.0-1.0, this stop’s position along the gradient) plus color (a plain
Dwg_Color, already a normally-bound type elsewhere in this crate –
e.g. entity/layer color – so no further hand-writing needed for it).
One of Dwg_Entity_HATCH.colors (num_colors/colors). Same
parent: struct _dwg_entity_HATCH * cascade as Dwg_HATCH_DefLine
above (allowlisting it directly forces bindgen to also materialize a
real, cascade-failing _dwg_entity_HATCH), same fix: blocklisted and
hand-defined with parent left as an untyped *mut c_void. Verified
against clang’s own authoritative sizeof() (64 bytes: parent@0,
shift_value@8, color@16) via the same allowlist-then-read-the-failing-
layout_tests()-assert technique used for the other hand-written HATCH
sub-structs.
Fields§
§parent: *mut c_void§shift_value: BITCODE_BD§color: Dwg_ColorTrait Implementations§
Source§impl Clone for Dwg_HATCH_Color
impl Clone for Dwg_HATCH_Color
Source§fn clone(&self) -> Dwg_HATCH_Color
fn clone(&self) -> Dwg_HATCH_Color
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more