pub struct LabelStyle {
pub text: String,
pub color: Rgb,
pub x: f64,
pub y: f64,
pub size_pt: f64,
pub vertical_alignment: VAlign,
pub font_family: String,
pub background: bool,
}Expand description
The big plot_map label.
Fields§
§text: String§color: Rgb§x: f64Axes-fraction coordinates (0..1), like upstream label_x / label_y.
y: f64§size_pt: f64§vertical_alignment: VAlign§font_family: String§background: boolTrait Implementations§
Source§impl Clone for LabelStyle
impl Clone for LabelStyle
Source§impl Debug for LabelStyle
impl Debug for LabelStyle
Source§impl<'de> Deserialize<'de> for LabelStyle
impl<'de> Deserialize<'de> for LabelStyle
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 LabelStyle
impl RefUnwindSafe for LabelStyle
impl Send for LabelStyle
impl Sync for LabelStyle
impl Unpin for LabelStyle
impl UnsafeUnpin for LabelStyle
impl UnwindSafe for LabelStyle
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