pub struct PgfOptions {
pub simplify: SimplifySettings,
pub composite_images: bool,
pub rcfonts: bool,
pub font_names: Vec<String>,
pub preamble: String,
pub image_stem: Option<String>,
}Expand description
Settings of a PGF document (matplotlib’s pgf.* rcParams and the
file it is written to).
Fields§
§simplify: SimplifySettingspath.simplify and path.simplify_threshold.
composite_images: boolimage.composite_image.
rcfonts: boolpgf.rcfonts: select fonts by name through fontspec; otherwise
families other than the generic ones use LaTeX’s default.
font_names: Vec<String>The family names of the installed fonts, which pgf.rcfonts
selects by name (matplotlib’s fontManager.ttflist).
preamble: StringThe LaTeX preamble the figure assumes, recorded in the header
(matplotlib’s _get_preamble()).
image_stem: Option<String>The stem of the document’s file name: images go beside it as
<stem>-img<N>.png. Without one, images cannot be written.
Trait Implementations§
Source§impl Clone for PgfOptions
impl Clone for PgfOptions
Source§impl Debug for PgfOptions
impl Debug for PgfOptions
Source§impl Default for PgfOptions
impl Default for PgfOptions
Source§impl PartialEq for PgfOptions
impl PartialEq for PgfOptions
impl StructuralPartialEq for PgfOptions
Auto Trait Implementations§
impl Forget for PgfOptions
impl Freeze for PgfOptions
impl Move for PgfOptions
impl RefUnwindSafe for PgfOptions
impl Send for PgfOptions
impl Sync for PgfOptions
impl Unpin for PgfOptions
impl UnsafeUnpin for PgfOptions
impl UnwindSafe for PgfOptions
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