pub struct ShapeStyle {
pub fill: Fill,
pub stroke: Stroke,
pub line_style: LineStyle,
pub shadow: Option<Shadow>,
pub opacity: f64,
}Expand description
A fill and a stroke, as attached to a shape in a series.
Fields§
§fill: FillThe fill of the shape.
stroke: StrokeThe stroke of the shape.
line_style: LineStyleThe stroke’s geometry parameters.
shadow: Option<Shadow>The shadow cast by the shape.
opacity: f64The opacity of the whole shape, from 0.0 to 1.0.
Implementations§
Source§impl ShapeStyle
Inherent implementation of ShapeStyle.
impl ShapeStyle
Inherent implementation of ShapeStyle.
Trait Implementations§
Source§impl Clone for ShapeStyle
impl Clone for ShapeStyle
Source§impl Debug for ShapeStyle
impl Debug for ShapeStyle
Source§impl Default for ShapeStyle
Default construction for ShapeStyle.
impl Default for ShapeStyle
Default construction for ShapeStyle.
Source§fn default() -> Self
fn default() -> Self
Constructs a default ShapeStyle value.
Source§impl PartialEq for ShapeStyle
impl PartialEq for ShapeStyle
impl StructuralPartialEq for ShapeStyle
Auto Trait Implementations§
impl Freeze for ShapeStyle
impl RefUnwindSafe for ShapeStyle
impl Send for ShapeStyle
impl Sync for ShapeStyle
impl Unpin for ShapeStyle
impl UnsafeUnpin for ShapeStyle
impl UnwindSafe for ShapeStyle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more