pub struct PolygonFence {
pub name: String,
pub vertices: Vec<LonLat>,
}Expand description
A polygonal geofence.
Fields§
§name: String§vertices: Vec<LonLat>Vertices as (lon, lat), ordered either clockwise or counter-clockwise.
Implementations§
Trait Implementations§
Source§impl Clone for PolygonFence
impl Clone for PolygonFence
Auto Trait Implementations§
impl Freeze for PolygonFence
impl RefUnwindSafe for PolygonFence
impl Send for PolygonFence
impl Sync for PolygonFence
impl Unpin for PolygonFence
impl UnsafeUnpin for PolygonFence
impl UnwindSafe for PolygonFence
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