pub struct PlotStyle {
pub line: LineColorSpec,
pub kind: ColorKind,
pub background: Rgb,
pub linewidth_pt: f64,
pub size_scale: f64,
pub label: Option<LabelStyle>,
pub annotation: Option<Annotation>,
}Fields§
§line: LineColorSpec§kind: ColorKind§background: Rgb§linewidth_pt: f64Line width in points (matplotlib linewidth).
size_scale: f64Figure width in inches (upstream size_scale).
label: Option<LabelStyle>§annotation: Option<Annotation>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlotStyle
impl<'de> Deserialize<'de> for PlotStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PlotStyle
impl RefUnwindSafe for PlotStyle
impl Send for PlotStyle
impl Sync for PlotStyle
impl Unpin for PlotStyle
impl UnsafeUnpin for PlotStyle
impl UnwindSafe for PlotStyle
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