#[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, its position along the gradient) plus a plain Dwg_Color. One of
Dwg_Entity_HATCH.colors.
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
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Dwg_HATCH_Color
Auto Trait Implementations§
impl !Send for Dwg_HATCH_Color
impl !Sync for Dwg_HATCH_Color
impl Freeze for Dwg_HATCH_Color
impl RefUnwindSafe for Dwg_HATCH_Color
impl Unpin for Dwg_HATCH_Color
impl UnsafeUnpin for Dwg_HATCH_Color
impl UnwindSafe for Dwg_HATCH_Color
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