pub enum Aperture {
Circle(Circle),
Rectangle(Rectangular),
Obround(Rectangular),
Polygon(Polygon),
Macro(String, Option<Vec<MacroDecimal>>),
}Variants§
Circle(Circle)
Rectangle(Rectangular)
Obround(Rectangular)
Polygon(Polygon)
Macro(String, Option<Vec<MacroDecimal>>)
gerber spec (2024.05) 4.3.1 “AD Command” - “Parameters are decimals.”
Note: this definition conflicts with:
a) the [MacroBoolean] which is used for the exposure parameter for macro primitives.
b) the [MacroInteger] which is used for the ‘# vertices’ parameter for macro primitives.
Conversion functions from MacroDecimal to [MacroBoolean] & [MacroInteger] are required.
Trait Implementations§
impl StructuralPartialEq for Aperture
Auto Trait Implementations§
impl Freeze for Aperture
impl RefUnwindSafe for Aperture
impl Send for Aperture
impl Sync for Aperture
impl Unpin for Aperture
impl UnwindSafe for Aperture
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)