#[repr(C)]pub struct Dwg_HATCH_DefLine {
pub parent: *mut c_void,
pub angle: BITCODE_BD,
pub pt0: BITCODE_2RD,
pub offset: BITCODE_2RD,
pub num_dashes: BITCODE_BS,
pub dashes: *mut BITCODE_BD,
}Expand description
_dwg_HATCH_DefLine (dwg.h) – one pattern-fill “definition line”: a family
of parallel lines (angle/pt0/offset) plus an optional dash pattern
(dashes: positive = dash length, negative = gap, empty = continuous). One
of Dwg_Entity_HATCH.deflines.
pt0/offset are declared BITCODE_2BD in dwg.h but typed BITCODE_2RD
here: both are two doubles with no padding, and BITCODE_2RD is already
bound elsewhere in this crate, so reusing it avoids pulling in a type
bindgen would otherwise never generate.
Fields§
§parent: *mut c_void§angle: BITCODE_BD§pt0: BITCODE_2RD§offset: BITCODE_2RD§num_dashes: BITCODE_BS§dashes: *mut BITCODE_BDTrait Implementations§
Source§impl Clone for Dwg_HATCH_DefLine
impl Clone for Dwg_HATCH_DefLine
impl Copy for Dwg_HATCH_DefLine
Auto Trait Implementations§
impl !Send for Dwg_HATCH_DefLine
impl !Sync for Dwg_HATCH_DefLine
impl Freeze for Dwg_HATCH_DefLine
impl RefUnwindSafe for Dwg_HATCH_DefLine
impl Unpin for Dwg_HATCH_DefLine
impl UnsafeUnpin for Dwg_HATCH_DefLine
impl UnwindSafe for Dwg_HATCH_DefLine
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