Struct svgbob::Settings [] [src]

pub struct Settings {
    pub text_width: f32,
    pub text_height: f32,
    pub class: Option<String>,
    pub id: Option<String>,
    // some fields omitted
}

optimization options: 1. None -> Fastest, but not correct looking (paths and text are not reduced) 2. Fast -> Fast and correct looking (text are reduced) 3. All -> Correct looking but slow (paths and text are reduced)

Fields

the svg class of the generated svg

the id of the generated svg

Methods

impl Settings
[src]

Trait Implementations

impl Debug for Settings
[src]

Formats the value using the given formatter.

impl Clone for Settings
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Settings
[src]

Returns the "default value" for a type. Read more