Struct svg2gcode::ConversionOptions
source · pub struct ConversionOptions {
pub dimensions: [Option<Length>; 2],
}Expand description
Options are specific to this conversion.
This is separate from ConversionConfig to support bulk processing in the web interface.
Fields§
§dimensions: [Option<Length>; 2]Width and height override
Useful when an SVG does not have a set width and height or you want to override it.
Trait Implementations§
source§impl Clone for ConversionOptions
impl Clone for ConversionOptions
source§fn clone(&self) -> ConversionOptions
fn clone(&self) -> ConversionOptions
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 ConversionOptions
impl Debug for ConversionOptions
source§impl Default for ConversionOptions
impl Default for ConversionOptions
source§fn default() -> ConversionOptions
fn default() -> ConversionOptions
Returns the “default value” for a type. Read more
source§impl PartialEq for ConversionOptions
impl PartialEq for ConversionOptions
source§fn eq(&self, other: &ConversionOptions) -> bool
fn eq(&self, other: &ConversionOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConversionOptions
Auto Trait Implementations§
impl RefUnwindSafe for ConversionOptions
impl Send for ConversionOptions
impl Sync for ConversionOptions
impl Unpin for ConversionOptions
impl UnwindSafe for ConversionOptions
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