// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
usestd::path::PathBuf;/// Processing options.
pubstructOptions{/// SVG image path.
////// Used to resolve relative image paths.
pubpath:Option<PathBuf>,
/// Target DPI.
////// Impact units conversion.
pubdpi:f64,
/// Keep named groups.
////// If set to `true`, all non-empty groups with `id` attribute will not
/// be removed.
pubkeep_named_groups:bool,
}implDefault forOptions{fndefault()-> Options{
Options {
path:None,
dpi:96.0,
keep_named_groups:false,}}}