Struct svg2gcode::ConversionConfig
source · pub struct ConversionConfig {
pub tolerance: f64,
pub feedrate: f64,
pub dpi: f64,
pub origin: [Option<f64>; 2],
}Expand description
High-level output configuration
Fields§
§tolerance: f64Curve interpolation tolerance in millimeters
feedrate: f64Feedrate in millimeters / minute
dpi: f64Dots per inch for pixels, picas, points, etc.
origin: [Option<f64>; 2]Set the origin point for this conversion
Trait Implementations§
source§impl Clone for ConversionConfig
impl Clone for ConversionConfig
source§fn clone(&self) -> ConversionConfig
fn clone(&self) -> ConversionConfig
Returns a copy 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 ConversionConfig
impl Debug for ConversionConfig
source§impl Default for ConversionConfig
impl Default for ConversionConfig
source§impl PartialEq for ConversionConfig
impl PartialEq for ConversionConfig
source§fn eq(&self, other: &ConversionConfig) -> bool
fn eq(&self, other: &ConversionConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConversionConfig
Auto Trait Implementations§
impl RefUnwindSafe for ConversionConfig
impl Send for ConversionConfig
impl Sync for ConversionConfig
impl Unpin for ConversionConfig
impl UnwindSafe for ConversionConfig
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