Struct plotters_backend::BackendColor
source · [−]Expand description
The color type that is used by all the backend
Fields
alpha: f64
rgb: (u8, u8, u8)
Implementations
sourceimpl BackendColor
impl BackendColor
Trait Implementations
sourceimpl BackendStyle for BackendColor
impl BackendStyle for BackendColor
sourcefn color(&self) -> BackendColor
fn color(&self) -> BackendColor
Get the color of current style
sourcefn stroke_width(&self) -> u32
fn stroke_width(&self) -> u32
Get the stroke width of current style
sourceimpl Clone for BackendColor
impl Clone for BackendColor
sourcefn clone(&self) -> BackendColor
fn clone(&self) -> BackendColor
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
impl Copy for BackendColor
Auto Trait Implementations
impl RefUnwindSafe for BackendColor
impl Send for BackendColor
impl Sync for BackendColor
impl Unpin for BackendColor
impl UnwindSafe for BackendColor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more