pub enum ShapeMatch {
WalkOrSnap,
MapSnap,
EdgeWalk,
}Expand description
How to match the shape to the road network.
Variants§
WalkOrSnap
Try edge walking first, fall back to map matching
MapSnap
Use map matching algorithm
EdgeWalk
Use edge walking algorithm (requires very precise input)
Trait Implementations§
Source§impl Clone for ShapeMatch
impl Clone for ShapeMatch
Source§fn clone(&self) -> ShapeMatch
fn clone(&self) -> ShapeMatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShapeMatch
impl Debug for ShapeMatch
Source§impl Default for ShapeMatch
impl Default for ShapeMatch
Source§fn default() -> ShapeMatch
fn default() -> ShapeMatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShapeMatch
impl RefUnwindSafe for ShapeMatch
impl Send for ShapeMatch
impl Sync for ShapeMatch
impl Unpin for ShapeMatch
impl UnsafeUnpin for ShapeMatch
impl UnwindSafe for ShapeMatch
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