pub enum ShapeFormat {
Polyline6,
Polyline5,
}
Expand description
Specifies the precision (number of decimal places) of the encoded polyline.
Variants§
Polyline6
polyline is encoded with 6 digit precision
Polyline5
polyline is encoded with 5 digit precision
Trait Implementations§
Source§impl Clone for ShapeFormat
impl Clone for ShapeFormat
Source§fn clone(&self) -> ShapeFormat
fn clone(&self) -> ShapeFormat
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 ShapeFormat
impl Debug for ShapeFormat
Source§impl Default for ShapeFormat
impl Default for ShapeFormat
Source§fn default() -> ShapeFormat
fn default() -> ShapeFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for ShapeFormat
impl PartialEq for ShapeFormat
Source§impl Serialize for ShapeFormat
impl Serialize for ShapeFormat
impl Copy for ShapeFormat
impl Eq for ShapeFormat
impl StructuralPartialEq for ShapeFormat
Auto Trait Implementations§
impl Freeze for ShapeFormat
impl RefUnwindSafe for ShapeFormat
impl Send for ShapeFormat
impl Sync for ShapeFormat
impl Unpin for ShapeFormat
impl UnwindSafe for ShapeFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.