pub struct MapTextItem {
pub text: String,
pub x: f32,
pub y: f32,
pub map_marker_type: MapMarkerType,
}
Expand description
Contains information about a map label.
Includes the text, position, and type of a label.
Fields§
§text: String
§x: f32
§y: f32
§map_marker_type: MapMarkerType
Trait Implementations§
Source§impl Clone for MapTextItem
impl Clone for MapTextItem
Source§fn clone(&self) -> MapTextItem
fn clone(&self) -> MapTextItem
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MapTextItem
impl Debug for MapTextItem
Source§impl<'de> Deserialize<'de> for MapTextItem
impl<'de> Deserialize<'de> for MapTextItem
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
Source§impl PartialEq for MapTextItem
impl PartialEq for MapTextItem
impl StructuralPartialEq for MapTextItem
Auto Trait Implementations§
impl Freeze for MapTextItem
impl RefUnwindSafe for MapTextItem
impl Send for MapTextItem
impl Sync for MapTextItem
impl Unpin for MapTextItem
impl UnwindSafe for MapTextItem
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