#[non_exhaustive]pub struct HatchLine {
pub angle: f64,
pub base: [f64; 2],
pub spacing: f64,
pub shift: f64,
pub dash: [f64; 6],
pub dashes: u32,
}Expand description
a family of a hatch’s parallel lines, as DXF has them: their angle (radians, counter-clockwise from the x axis), the
base point one of them runs through, the spacing between neighbouring lines (at right angles to them) and how far each
line’s pattern is shifted along against the one before; a dash pattern (on, off, … in drawing units; none: solid
lines; an entry of 0 is a dot). Made with new and changed field by field (it may grow)
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.angle: f64§base: [f64; 2]§spacing: f64§shift: f64§dash: [f64; 6]§dashes: u32Implementations§
Trait Implementations§
impl Copy for HatchLine
impl StructuralPartialEq for HatchLine
Auto Trait Implementations§
impl Forget for HatchLine
impl Freeze for HatchLine
impl Move for HatchLine
impl RefUnwindSafe for HatchLine
impl Send for HatchLine
impl Sync for HatchLine
impl Unpin for HatchLine
impl UnsafeUnpin for HatchLine
impl UnwindSafe for HatchLine
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