Struct sgf_render::MakeSvgOptions
source · pub struct MakeSvgOptions {Show 16 fields
pub node_description: NodeDescription,
pub goban_range: GobanRange,
pub style: GobanStyle,
pub viewbox_width: f64,
pub label_sides: BoardSideSet,
pub move_number_options: Option<MoveNumberOptions>,
pub draw_marks: bool,
pub draw_triangles: bool,
pub draw_circles: bool,
pub draw_squares: bool,
pub draw_selected: bool,
pub draw_dimmed: bool,
pub draw_labels: bool,
pub draw_lines: bool,
pub draw_arrows: bool,
pub kifu_mode: bool,
}Fields§
§node_description: NodeDescription§goban_range: GobanRange§style: GobanStyle§viewbox_width: f64§label_sides: BoardSideSet§move_number_options: Option<MoveNumberOptions>§draw_marks: bool§draw_triangles: bool§draw_circles: bool§draw_squares: bool§draw_selected: bool§draw_dimmed: bool§draw_labels: bool§draw_lines: bool§draw_arrows: bool§kifu_mode: boolTrait Implementations§
source§impl Clone for MakeSvgOptions
impl Clone for MakeSvgOptions
source§fn clone(&self) -> MakeSvgOptions
fn clone(&self) -> MakeSvgOptions
Returns a copy of the value. Read more
1.0.0 · 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 MakeSvgOptions
impl Debug for MakeSvgOptions
source§impl Default for MakeSvgOptions
impl Default for MakeSvgOptions
source§fn default() -> MakeSvgOptions
fn default() -> MakeSvgOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MakeSvgOptions
impl RefUnwindSafe for MakeSvgOptions
impl Send for MakeSvgOptions
impl Sync for MakeSvgOptions
impl Unpin for MakeSvgOptions
impl UnwindSafe for MakeSvgOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)