Struct vectorphile::backend::DrawOptions
[−]
[src]
pub struct DrawOptions { pub fill_color: Option<(u8, u8, u8)>, pub stroke_color: Option<(u8, u8, u8)>, pub stroke_size: f64, }
Fields
fill_color: Option<(u8, u8, u8)>
stroke_color: Option<(u8, u8, u8)>
stroke_size: f64
Methods
impl DrawOptions
[src]
fn default() -> DrawOptions
[src]
fn stroked((r, g, b): (u8, u8, u8), size: f64) -> DrawOptions
[src]
fn filled((r, g, b): (u8, u8, u8)) -> DrawOptions
[src]
Trait Implementations
impl Copy for DrawOptions
[src]
impl Clone for DrawOptions
[src]
fn clone(&self) -> DrawOptions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for DrawOptions
[src]
fn eq(&self, __arg_0: &DrawOptions) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DrawOptions) -> bool
[src]
This method tests for !=
.