Struct svgcleaner::CleaningOptions[][src]

pub struct CleaningOptions {
    pub remove_unused_defs: bool,
    pub convert_shapes: bool,
    pub remove_title: bool,
    pub remove_desc: bool,
    pub remove_metadata: bool,
    pub remove_dupl_linear_gradients: bool,
    pub remove_dupl_radial_gradients: bool,
    pub remove_dupl_fe_gaussian_blur: bool,
    pub ungroup_groups: bool,
    pub ungroup_defs: bool,
    pub group_by_style: bool,
    pub merge_gradients: bool,
    pub regroup_gradient_stops: bool,
    pub remove_invalid_stops: bool,
    pub remove_invisible_elements: bool,
    pub resolve_use: bool,
    pub remove_version: bool,
    pub remove_unreferenced_ids: bool,
    pub trim_ids: bool,
    pub remove_text_attributes: bool,
    pub remove_unused_coordinates: bool,
    pub remove_default_attributes: bool,
    pub remove_xmlns_xlink_attribute: bool,
    pub remove_needless_attributes: bool,
    pub remove_gradient_attributes: bool,
    pub join_style_attributes: StyleJoinMode,
    pub apply_transform_to_gradients: bool,
    pub apply_transform_to_shapes: bool,
    pub paths_to_relative: bool,
    pub remove_unused_segments: bool,
    pub convert_segments: bool,
    pub apply_transform_to_paths: bool,
    pub coordinates_precision: u8,
    pub properties_precision: u8,
    pub paths_coordinates_precision: u8,
    pub transforms_precision: u8,
}

Fields

Trait Implementations

impl Default for CleaningOptions
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations