#[non_exhaustive]pub struct Hatch {
pub pattern: String,
pub solid: bool,
pub style: u32,
pub angle: f64,
pub scale: f64,
pub double: bool,
pub elevation: f64,
pub paths: Vec<Path>,
pub lines: Vec<PatternLine>,
pub gradient: bool,
pub gradient_colors: Vec<Color>,
}Expand description
HATCH
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pattern: String2, 70 (solid fill), 75 (0 normal, 1 outer, 2 ignore islands), 52, 41, 77
solid: bool§style: u32§angle: f64§scale: f64§double: bool§elevation: f6430: the OCS z of the boundary
paths: Vec<Path>§lines: Vec<PatternLine>§gradient: bool450 = 1: a gradient (its two colours, 63/421 after 453)
gradient_colors: Vec<Color>Trait Implementations§
impl StructuralPartialEq for Hatch
Auto Trait Implementations§
impl Forget for Hatch
impl Freeze for Hatchwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Path>: Freeze,
PhantomData<PatternLine>: Freeze,
PhantomData<Color>: Freeze,
impl Move for Hatch
impl RefUnwindSafe for Hatch
impl Send for Hatchwhere
RawVecInner: Send,
impl Sync for Hatchwhere
RawVecInner: Sync,
impl Unpin for Hatch
impl UnsafeUnpin for Hatchwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Path>: UnsafeUnpin,
PhantomData<PatternLine>: UnsafeUnpin,
PhantomData<Color>: UnsafeUnpin,
impl UnwindSafe for Hatchwhere
RawVecInner: UnwindSafe,
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