Struct vtracer::Config[][src]

pub struct Config {
Show 13 fields pub input_path: PathBuf, pub output_path: PathBuf, pub color_mode: ColorMode, pub hierarchical: Hierarchical, pub filter_speckle: usize, pub color_precision: i32, pub layer_difference: i32, pub mode: PathSimplifyMode, pub corner_threshold: i32, pub length_threshold: f64, pub max_iterations: usize, pub splice_threshold: i32, pub path_precision: Option<u32>,
}
Expand description

Converter config

Fields

input_path: PathBufoutput_path: PathBufcolor_mode: ColorModehierarchical: Hierarchicalfilter_speckle: usizecolor_precision: i32layer_difference: i32mode: PathSimplifyModecorner_threshold: i32length_threshold: f64max_iterations: usizesplice_threshold: i32path_precision: Option<u32>

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.