pub struct RenderOptions {
pub sheet_name: String,
pub range: Option<String>,
pub show_gridlines: bool,
pub show_headers: bool,
pub scale: f64,
pub default_font_family: String,
pub default_font_size: f64,
}Expand description
Options for rendering a worksheet to SVG.
Fields§
§sheet_name: StringName of the sheet to render. Required.
range: Option<String>Optional cell range to render (e.g. “A1:F20”). None renders the used range.
show_gridlines: boolWhether to draw gridlines between cells.
show_headers: boolWhether to draw row and column headers (A, B, C… and 1, 2, 3…).
scale: f64Scale factor for the output (1.0 = 100%).
default_font_family: StringDefault font family for cell text.
default_font_size: f64Default font size in points for cell text.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenderOptions
impl RefUnwindSafe for RenderOptions
impl Send for RenderOptions
impl Sync for RenderOptions
impl Unpin for RenderOptions
impl UnwindSafe for RenderOptions
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