pub struct Marker { /* private fields */ }Implementations§
Source§impl Marker
impl Marker
pub fn new(lnglat: LngLat) -> Rc<Marker>
pub fn with_options(lnglat: LngLat, options: MarkerOptions) -> Rc<Marker>
pub fn with_listener<F>(
lnglat: LngLat,
options: MarkerOptions,
f: F,
) -> Rc<Marker>where
F: MarkerEventListener + 'static,
pub fn get_lnglat(&self) -> LngLat
pub fn set_lnglat(&self, pos: &LngLat)
Auto Trait Implementations§
impl !Freeze for Marker
impl !RefUnwindSafe for Marker
impl !Send for Marker
impl !Sync for Marker
impl Unpin for Marker
impl !UnwindSafe for Marker
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