Struct simplesvg::Attr [] [src]

pub struct Attr {
    pub fill: Option<ColorAttr>,
    pub stroke: Option<ColorAttr>,
    pub stroke_width: Option<f32>,
    pub opacity: Option<f32>,
    pub font_family: Option<&'static str>,
    // some fields omitted
}

Style attributes

Fields

Methods

impl Attr
[src]

Trait Implementations

impl Clone for Attr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Attr
[src]

Formats the value using the given formatter.

impl Default for Attr
[src]

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

impl Display for Attr
[src]

Formats the value using the given formatter. Read more