pub struct ExportSvgOptions {
pub font_family: String,
pub font_size: u32,
pub theme: ExportTheme,
pub code: String,
pub width: u32,
pub height: u32,
}Expand description
Options for SVG export.
Fields§
§font_family: StringFont family for the output.
font_size: u32Font size in pixels.
theme: ExportThemeTerminal color theme.
code: StringCode block to insert.
width: u32SVG canvas width.
height: u32SVG canvas height.
Trait Implementations§
Source§impl Clone for ExportSvgOptions
impl Clone for ExportSvgOptions
Source§fn clone(&self) -> ExportSvgOptions
fn clone(&self) -> ExportSvgOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportSvgOptions
impl Debug for ExportSvgOptions
Auto Trait Implementations§
impl Freeze for ExportSvgOptions
impl RefUnwindSafe for ExportSvgOptions
impl Send for ExportSvgOptions
impl Sync for ExportSvgOptions
impl Unpin for ExportSvgOptions
impl UnsafeUnpin for ExportSvgOptions
impl UnwindSafe for ExportSvgOptions
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