Struct plotters::style::ShapeStyle [−][src]
Expand description
Style for any of shape
Fields
color: RGBAColor
filled: bool
stroke_width: u32
Implementations
impl ShapeStyle
[src]
impl ShapeStyle
[src]pub fn stroke_width(&self, width: u32) -> Self
[src]
Trait Implementations
impl BackendStyle for ShapeStyle
[src]
impl BackendStyle for ShapeStyle
[src]fn color(&self) -> BackendColor
[src]
fn color(&self) -> BackendColor
[src]Get the color of current style
fn stroke_width(&self) -> u32
[src]
fn stroke_width(&self) -> u32
[src]Get the stroke width of current style
impl Clone for ShapeStyle
[src]
impl Clone for ShapeStyle
[src]fn clone(&self) -> ShapeStyle
[src]
fn clone(&self) -> ShapeStyle
[src]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
Auto Trait Implementations
impl RefUnwindSafe for ShapeStyle
impl Send for ShapeStyle
impl Sync for ShapeStyle
impl Unpin for ShapeStyle
impl UnwindSafe for ShapeStyle
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more