pub enum SymbolPlacement {
Point,
Line,
}Expand description
Placement mode for symbol features.
Mapbox and MapLibre distinguish between point-placed symbols and symbols that are anchored along line geometry. The engine still uses a simplified line-placement model, but keeping the mode explicit in the shared symbol types lets style parsing, candidate generation, and future parity work all agree on the intended placement behavior.
Variants§
Trait Implementations§
Source§impl Clone for SymbolPlacement
impl Clone for SymbolPlacement
Source§fn clone(&self) -> SymbolPlacement
fn clone(&self) -> SymbolPlacement
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 SymbolPlacement
impl Debug for SymbolPlacement
Source§impl Default for SymbolPlacement
impl Default for SymbolPlacement
Source§impl Hash for SymbolPlacement
impl Hash for SymbolPlacement
Source§impl Ord for SymbolPlacement
impl Ord for SymbolPlacement
Source§fn cmp(&self, other: &SymbolPlacement) -> Ordering
fn cmp(&self, other: &SymbolPlacement) -> Ordering
1.21.0 · 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
Source§impl PartialEq for SymbolPlacement
impl PartialEq for SymbolPlacement
Source§impl PartialOrd for SymbolPlacement
impl PartialOrd for SymbolPlacement
impl Copy for SymbolPlacement
impl Eq for SymbolPlacement
impl StructuralPartialEq for SymbolPlacement
Auto Trait Implementations§
impl Freeze for SymbolPlacement
impl RefUnwindSafe for SymbolPlacement
impl Send for SymbolPlacement
impl Sync for SymbolPlacement
impl Unpin for SymbolPlacement
impl UnsafeUnpin for SymbolPlacement
impl UnwindSafe for SymbolPlacement
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