Struct criterion_plot::Opacity [−][src]
pub struct Opacity(pub f64);
Fill color opacity
Trait Implementations
impl Set<Opacity> for Properties
[src]
impl Set<Opacity> for Properties
fn set(&mut self, opacity: Opacity) -> &mut Properties
[src]
fn set(&mut self, opacity: Opacity) -> &mut Properties
Changes the opacity of the fill color
Note By default, the fill color is totally opaque (opacity = 1.0
)
Panics
Panics if opacity
is outside the range [0, 1]
impl Clone for Opacity
[src]
impl Clone for Opacity
fn clone(&self) -> Opacity
[src]
fn clone(&self) -> Opacity
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Opacity
[src]
impl Copy for Opacity