pub struct ImageOffset {
pub a: f64,
pub b: f64,
}
Expand description
Gerber spec 2024.05 8.1.8 “Offset (OF)” By default, A=X, B=Y, but this changes depending on the axis select command (AS)
Fields§
§a: f64
offset for A axis
b: f64
offset for B axis
Trait Implementations§
Source§impl Clone for ImageOffset
impl Clone for ImageOffset
Source§fn clone(&self) -> ImageOffset
fn clone(&self) -> ImageOffset
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImageOffset
impl Debug for ImageOffset
Source§impl Default for ImageOffset
impl Default for ImageOffset
Source§fn default() -> ImageOffset
fn default() -> ImageOffset
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImageOffset
impl PartialEq for ImageOffset
impl Copy for ImageOffset
impl StructuralPartialEq for ImageOffset
Auto Trait Implementations§
impl Freeze for ImageOffset
impl RefUnwindSafe for ImageOffset
impl Send for ImageOffset
impl Sync for ImageOffset
impl Unpin for ImageOffset
impl UnwindSafe for ImageOffset
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