pub struct MapBoxRouteMatcher { /* private fields */ }Expand description
Implementation of RouteMatcher for MapBox Map Matching API v5.
Implementations§
Source§impl MapBoxRouteMatcher
impl MapBoxRouteMatcher
pub fn new(client: Arc<MapBoxClient>) -> Self
pub fn with_base_url(client: Arc<MapBoxClient>, base_url: String) -> Self
Trait Implementations§
Source§impl RouteMatcher for MapBoxRouteMatcher
impl RouteMatcher for MapBoxRouteMatcher
fn match_route<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
points: &'life1 [Coordinate],
options: &'life2 MatchingOptions,
) -> Pin<Box<dyn Future<Output = EveryMapResult<TraceResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for MapBoxRouteMatcher
impl !UnwindSafe for MapBoxRouteMatcher
impl Freeze for MapBoxRouteMatcher
impl Send for MapBoxRouteMatcher
impl Sync for MapBoxRouteMatcher
impl Unpin for MapBoxRouteMatcher
impl UnsafeUnpin for MapBoxRouteMatcher
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