#[non_exhaustive]pub struct PatternLine {
pub angle: f64,
pub base: [f64; 2],
pub offset: [f64; 2],
pub dashes: Vec<f64>,
}Expand description
a line family of a hatch pattern as the file stores it, already scaled and turned: angle (53, degrees), a base point (43, 44), the offset to the next line (45, 46) and dashes (49: positive on, negative off, 0 a dot)
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]§offset: [f64; 2]§dashes: Vec<f64>Trait Implementations§
Source§impl Clone for PatternLine
impl Clone for PatternLine
Source§impl Debug for PatternLine
impl Debug for PatternLine
Source§impl Default for PatternLine
impl Default for PatternLine
Source§impl PartialEq for PatternLine
impl PartialEq for PatternLine
impl StructuralPartialEq for PatternLine
Auto Trait Implementations§
impl Forget for PatternLine
impl Freeze for PatternLine
impl Move for PatternLine
impl RefUnwindSafe for PatternLine
impl Send for PatternLinewhere
RawVecInner: Send,
impl Sync for PatternLinewhere
RawVecInner: Sync,
impl Unpin for PatternLine
impl UnsafeUnpin for PatternLine
impl UnwindSafe for PatternLinewhere
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