Struct vf_rs::geo::SpatialThing
source · pub struct SpatialThing { /* private fields */ }
Expand description
A mappable location.
Implementations§
source§impl SpatialThing
impl SpatialThing
sourcepub fn alt_mut(&mut self) -> &mut Option<f64>
pub fn alt_mut(&mut self) -> &mut Option<f64>
The WGS84 altitude of a SpatialThing (decimal meters above the local reference ellipsoid).
sourcepub fn lat_mut(&mut self) -> &mut Option<f64>
pub fn lat_mut(&mut self) -> &mut Option<f64>
The WGS84 latitude of a SpatialThing (decimal degrees).
sourcepub fn long_mut(&mut self) -> &mut Option<f64>
pub fn long_mut(&mut self) -> &mut Option<f64>
The WGS84 longitude of a SpatialThing (decimal degrees).
sourcepub fn mappable_address_mut(&mut self) -> &mut Option<String>
pub fn mappable_address_mut(&mut self) -> &mut Option<String>
A textual address that can be mapped using mapping software.
sourcepub fn name_mut(&mut self) -> &mut Option<String>
pub fn name_mut(&mut self) -> &mut Option<String>
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn note_mut(&mut self) -> &mut Option<String>
source§impl SpatialThing
impl SpatialThing
sourcepub fn set_alt(&mut self, val: Option<f64>) -> &mut Self
pub fn set_alt(&mut self, val: Option<f64>) -> &mut Self
The WGS84 altitude of a SpatialThing (decimal meters above the local reference ellipsoid).
sourcepub fn set_lat(&mut self, val: Option<f64>) -> &mut Self
pub fn set_lat(&mut self, val: Option<f64>) -> &mut Self
The WGS84 latitude of a SpatialThing (decimal degrees).
sourcepub fn set_long(&mut self, val: Option<f64>) -> &mut Self
pub fn set_long(&mut self, val: Option<f64>) -> &mut Self
The WGS84 longitude of a SpatialThing (decimal degrees).
sourcepub fn set_mappable_address(&mut self, val: Option<String>) -> &mut Self
pub fn set_mappable_address(&mut self, val: Option<String>) -> &mut Self
A textual address that can be mapped using mapping software.
sourcepub fn set_name(&mut self, val: Option<String>) -> &mut Self
pub fn set_name(&mut self, val: Option<String>) -> &mut Self
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn set_note(&mut self, val: Option<String>) -> &mut Self
source§impl SpatialThing
impl SpatialThing
sourcepub fn alt(&self) -> &Option<f64>
pub fn alt(&self) -> &Option<f64>
The WGS84 altitude of a SpatialThing (decimal meters above the local reference ellipsoid).
sourcepub fn mappable_address(&self) -> &Option<String>
pub fn mappable_address(&self) -> &Option<String>
A textual address that can be mapped using mapping software.
sourcepub fn name(&self) -> &Option<String>
pub fn name(&self) -> &Option<String>
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn note(&self) -> &Option<String>
source§impl SpatialThing
impl SpatialThing
sourcepub fn builder() -> SpatialThingBuilder
pub fn builder() -> SpatialThingBuilder
Create an empty builder object for SpatialThing
sourcepub fn into_builder(self) -> SpatialThingBuilder
pub fn into_builder(self) -> SpatialThingBuilder
Turns SpatialThing into SpatialThingBuilder
Trait Implementations§
source§impl Clone for SpatialThing
impl Clone for SpatialThing
source§fn clone(&self) -> SpatialThing
fn clone(&self) -> SpatialThing
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SpatialThing
impl Debug for SpatialThing
source§impl<'de> Deserialize<'de> for SpatialThing
impl<'de> Deserialize<'de> for SpatialThing
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>,
source§impl PartialEq for SpatialThing
impl PartialEq for SpatialThing
source§fn eq(&self, other: &SpatialThing) -> bool
fn eq(&self, other: &SpatialThing) -> bool
self
and other
values to be equal, and is used
by ==
.