pub struct LocationPolygon {
pub exterior: Vec<GeoInfo>,
pub interior: Option<Option<Vec<Vec<GeoInfo>>>>,
}Fields§
§exterior: Vec<GeoInfo>§interior: Option<Option<Vec<Vec<GeoInfo>>>>Implementations§
Source§impl LocationPolygon
impl LocationPolygon
pub fn new(exterior: Vec<GeoInfo>) -> LocationPolygon
Trait Implementations§
Source§impl Clone for LocationPolygon
impl Clone for LocationPolygon
Source§fn clone(&self) -> LocationPolygon
fn clone(&self) -> LocationPolygon
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 LocationPolygon
impl Debug for LocationPolygon
Source§impl Default for LocationPolygon
impl Default for LocationPolygon
Source§fn default() -> LocationPolygon
fn default() -> LocationPolygon
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LocationPolygon
impl<'de> Deserialize<'de> for LocationPolygon
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LocationPolygon
impl PartialEq for LocationPolygon
Source§impl Serialize for LocationPolygon
impl Serialize for LocationPolygon
impl StructuralPartialEq for LocationPolygon
Auto Trait Implementations§
impl Freeze for LocationPolygon
impl RefUnwindSafe for LocationPolygon
impl Send for LocationPolygon
impl Sync for LocationPolygon
impl Unpin for LocationPolygon
impl UnwindSafe for LocationPolygon
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