Struct sgf_render::MakeSvgOptions
source · [−]pub struct MakeSvgOptions {Show 18 fields
pub node_description: NodeDescription,
pub goban_range: GobanRange,
pub style: GobanStyle,
pub viewbox_width: f64,
pub draw_board_labels: bool,
pub label_sides: HashSet<BoardSide>,
pub draw_move_numbers: bool,
pub first_move_number: u64,
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: NodeDescriptiongoban_range: GobanRangestyle: GobanStyleviewbox_width: f64draw_board_labels: boollabel_sides: HashSet<BoardSide>draw_move_numbers: boolfirst_move_number: u64draw_marks: booldraw_triangles: booldraw_circles: booldraw_squares: booldraw_selected: booldraw_dimmed: booldraw_labels: booldraw_lines: booldraw_arrows: boolkifu_mode: boolTrait Implementations
sourceimpl Clone for MakeSvgOptions
impl Clone for MakeSvgOptions
sourcefn clone(&self) -> MakeSvgOptions
fn clone(&self) -> MakeSvgOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for MakeSvgOptions
impl Send for MakeSvgOptions
impl Sync for MakeSvgOptions
impl Unpin for MakeSvgOptions
impl UnwindSafe for MakeSvgOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more