pub struct MapBoxIsoline { /* private fields */ }Expand description
Implementation of IsolineProvider for MapBox Isochrone API.
Implementations§
Source§impl MapBoxIsoline
impl MapBoxIsoline
pub fn new(client: Arc<MapBoxClient>) -> Self
pub fn with_base_url(client: Arc<MapBoxClient>, base_url: String) -> Self
Trait Implementations§
Source§impl IsolineProvider for MapBoxIsoline
impl IsolineProvider for MapBoxIsoline
fn get_isoline<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
center: &'life1 Coordinate,
range: f64,
options: &'life2 IsolineOptions,
) -> Pin<Box<dyn Future<Output = EveryMapResult<IsolineResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for MapBoxIsoline
impl !UnwindSafe for MapBoxIsoline
impl Freeze for MapBoxIsoline
impl Send for MapBoxIsoline
impl Sync for MapBoxIsoline
impl Unpin for MapBoxIsoline
impl UnsafeUnpin for MapBoxIsoline
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