pub struct Options {
pub path: Option<PathBuf>,
pub dpi: f64,
pub font_family: String,
pub font_size: f64,
pub languages: Vec<String>,
pub keep_named_groups: bool,
}
Expand description
Processing options.
Fields
path: Option<PathBuf>
SVG image path.
Used to resolve relative image paths.
dpi: f64
Target DPI.
Impact units conversion.
font_family: String
A default font family.
font_size: f64
A default font size.
languages: Vec<String>
A list of languages that will be used to resolve the systemLanguage
conditional attribute.
Format: en, en-US.
keep_named_groups: bool
Keep named groups.
If set to true
, all non-empty groups with id
attribute will not
be removed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more