pub enum PlacementStrategy {
Random,
Center,
Edges,
Corners,
}Expand description
Marker placement strategies
Variants§
Random
Random placement within region
Center
Place at region center
Edges
Place near region edges
Corners
Place in corners/extremes
Trait Implementations§
Source§impl Clone for PlacementStrategy
impl Clone for PlacementStrategy
Source§fn clone(&self) -> PlacementStrategy
fn clone(&self) -> PlacementStrategy
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 PlacementStrategy
impl RefUnwindSafe for PlacementStrategy
impl Send for PlacementStrategy
impl Sync for PlacementStrategy
impl Unpin for PlacementStrategy
impl UnwindSafe for PlacementStrategy
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