pub struct RenderOptions {
pub id_prefix: Option<String>,
pub table_mode: TableMode,
pub variant: Variant,
pub manifest: bool,
pub styles: Styles,
pub hooks: bool,
}Fields§
§id_prefix: Option<String>§table_mode: TableMode§variant: Variant§manifest: boolAlso returns a Manifest of the render in RenderOutput::manifest.
styles: StylesWhere the chart’s styles live. The print variant always carries its own.
hooks: boolAdds the data-* hooks that the optional interactive module of the npm package reads:
chart type and ID on the root, the plot geometry of every pane, a group around what each
layer draws, and the unformatted values on the data table, or in a JSON data block in
the SVG profile. The print variant carries none.
Trait Implementations§
Source§impl Clone for RenderOptions
impl Clone for RenderOptions
Source§impl Debug for RenderOptions
impl Debug for RenderOptions
Auto Trait Implementations§
impl Freeze for RenderOptions
impl RefUnwindSafe for RenderOptions
impl Send for RenderOptions
impl Sync for RenderOptions
impl Unpin for RenderOptions
impl UnsafeUnpin 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