pub struct MapStyle {
pub border: Option<Stroke>,
pub line: Option<Stroke>,
pub fill_color: Color32,
pub text_color: Color32,
pub font: Option<FontId>,
}Fields§
§border: Option<Stroke>§line: Option<Stroke>§fill_color: Color32§text_color: Color32§font: Option<FontId>Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for MapStyle
impl<'de> Deserialize<'de> for MapStyle
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 RefUnwindSafe for MapStyle
impl Send for MapStyle
impl Sync for MapStyle
impl Unpin for MapStyle
impl UnwindSafe for MapStyle
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