pub struct MapTap {
pub point: Point,
pub location: LngLat,
pub marker: Option<MarkerId>,
}Expand description
Where the user tapped (MapView::tap): the point, the position under it, the marker
hit if any. Provider-specific basemap feature queries live in provider crates.
Fields§
§point: Point§location: LngLat§marker: Option<MarkerId>Trait Implementations§
impl StructuralPartialEq for MapTap
Auto Trait Implementations§
impl Forget for MapTap
impl Freeze for MapTap
impl Move for MapTap
impl RefUnwindSafe for MapTap
impl Send for MapTap
impl Sync for MapTap
impl Unpin for MapTap
impl UnsafeUnpin for MapTap
impl UnwindSafe for MapTap
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