pub struct MapVisual {}
Implementations§
source§impl MapVisual
impl MapVisual
pub fn draw(visual: &MapVisualShape)
pub fn draw_multi(visuals: &[MapVisualShape])
pub fn circle(pos: Position, style: CircleStyle)
pub fn line(from: Position, to: Position, style: LineStyle)
pub fn rect(top_left: Position, width: u32, height: u32, style: RectStyle)
pub fn poly(points: Vec<Position>, style: PolyStyle)
pub fn text(pos: Position, text: String, style: MapTextStyle)
Auto Trait Implementations§
impl Freeze for MapVisual
impl RefUnwindSafe for MapVisual
impl Send for MapVisual
impl Sync for MapVisual
impl Unpin for MapVisual
impl UnwindSafe for MapVisual
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