pub struct GoogleMapImageProvider { /* private fields */ }Expand description
Implementation of MapImageProvider for Google Static Maps API.
Implementations§
Source§impl GoogleMapImageProvider
impl GoogleMapImageProvider
pub fn new(client: Arc<GoogleClient>) -> Self
pub fn with_base_url(client: Arc<GoogleClient>, base_url: String) -> Self
Trait Implementations§
Source§impl MapImageProvider for GoogleMapImageProvider
impl MapImageProvider for GoogleMapImageProvider
fn get_image<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
center: &'life1 Coordinate,
zoom: u32,
size: (u32, u32),
options: &'life2 ImageOptions,
) -> Pin<Box<dyn Future<Output = EveryMapResult<ImageResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for GoogleMapImageProvider
impl !UnwindSafe for GoogleMapImageProvider
impl Freeze for GoogleMapImageProvider
impl Send for GoogleMapImageProvider
impl Sync for GoogleMapImageProvider
impl Unpin for GoogleMapImageProvider
impl UnsafeUnpin for GoogleMapImageProvider
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