pub struct MarkerPlacementConfig {
pub strategy: PlacementStrategy,
pub min_marker_distance: usize,
pub avoid_walls: bool,
}Expand description
Configuration for marker placement strategies
Fields§
§strategy: PlacementStrategyPlacement strategy for markers
min_marker_distance: usizeMinimum distance between markers of same type
avoid_walls: boolAvoid placing markers near walls
Trait Implementations§
Source§impl Clone for MarkerPlacementConfig
impl Clone for MarkerPlacementConfig
Source§fn clone(&self) -> MarkerPlacementConfig
fn clone(&self) -> MarkerPlacementConfig
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 moreAuto Trait Implementations§
impl Freeze for MarkerPlacementConfig
impl RefUnwindSafe for MarkerPlacementConfig
impl Send for MarkerPlacementConfig
impl Sync for MarkerPlacementConfig
impl Unpin for MarkerPlacementConfig
impl UnwindSafe for MarkerPlacementConfig
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