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