pub enum LabelPriority {
Background,
Local,
Landmark,
Transit,
Emergency,
}Expand description
Relative importance used when labels collide.
Variants§
Background
Optional background context.
Local
Local place information.
Landmark
A major landmark.
Transit
A transport interchange or route anchor.
Emergency
Time-sensitive safety information.
Trait Implementations§
Source§impl Clone for LabelPriority
impl Clone for LabelPriority
impl Copy for LabelPriority
Source§impl Debug for LabelPriority
impl Debug for LabelPriority
impl Eq for LabelPriority
Source§impl Hash for LabelPriority
impl Hash for LabelPriority
Source§impl Ord for LabelPriority
impl Ord for LabelPriority
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LabelPriority
impl PartialEq for LabelPriority
Source§impl PartialOrd for LabelPriority
impl PartialOrd for LabelPriority
impl StructuralPartialEq for LabelPriority
Auto Trait Implementations§
impl Freeze for LabelPriority
impl RefUnwindSafe for LabelPriority
impl Send for LabelPriority
impl Sync for LabelPriority
impl Unpin for LabelPriority
impl UnsafeUnpin for LabelPriority
impl UnwindSafe for LabelPriority
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