pub struct SvgOptions {
pub hashsalt: Option<String>,
pub id: Option<String>,
pub metadata: Metadata,
pub simplify: SimplifySettings,
pub composite_images: bool,
pub fonttype: SvgFontType,
pub image_files: Option<String>,
}Expand description
Settings of an SVG document (matplotlib’s svg.* rcParams and the
metadata argument of savefig).
Fields§
§hashsalt: Option<String>svg.hashsalt: salt of the content-derived ids. None gives each
document a salt of its own, as matplotlib’s uuid4 does, so that
documents embedded in one page do not share ids.
id: Option<String>svg.id: the id of the root element.
metadata: MetadataTitle, creator and date (written as Dublin Core metadata).
simplify: SimplifySettingspath.simplify and path.simplify_threshold.
composite_images: boolimage.composite_image: whether images of one axes are composited
into one before drawing.
fonttype: SvgFontTypesvg.fonttype: glyphs as paths or text elements.
image_files: Option<String>svg.image_inline = False: the file name of the document, beside
which images go as <name>.image<N>.png files the document links
to, instead of being embedded (None).
Trait Implementations§
Source§impl Clone for SvgOptions
impl Clone for SvgOptions
Source§impl Debug for SvgOptions
impl Debug for SvgOptions
Source§impl Default for SvgOptions
impl Default for SvgOptions
Source§impl PartialEq for SvgOptions
impl PartialEq for SvgOptions
impl StructuralPartialEq for SvgOptions
Auto Trait Implementations§
impl Forget for SvgOptions
impl Freeze for SvgOptions
impl Move for SvgOptions
impl RefUnwindSafe for SvgOptions
impl Send for SvgOptions
impl Sync for SvgOptions
impl Unpin for SvgOptions
impl UnsafeUnpin for SvgOptions
impl UnwindSafe for SvgOptions
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