pub struct TileLabel {
pub enabled: Option<bool>,
pub label: Option<String>,
pub align: Option<LabelAlign>,
pub font: Option<String>,
pub font_size: Option<u32>,
pub bold: Option<bool>,
pub italic: Option<bool>,
pub underline: Option<bool>,
pub outline: Option<bool>,
pub color: Option<String>,
pub outline_color: Option<String>,
}
Fields§
§enabled: Option<bool>
§label: Option<String>
§align: Option<LabelAlign>
§font: Option<String>
§font_size: Option<u32>
§bold: Option<bool>
§italic: Option<bool>
§underline: Option<bool>
§outline: Option<bool>
§color: Option<String>
§outline_color: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TileLabel
impl<'de> Deserialize<'de> for TileLabel
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 TileLabel
impl RefUnwindSafe for TileLabel
impl Send for TileLabel
impl Sync for TileLabel
impl Unpin for TileLabel
impl UnwindSafe for TileLabel
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