[−][src]Struct vf_rs::geo::SpatialThing
A mappable location.
ID: http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing
Implementations
impl SpatialThing
[src]
pub fn alt(&self) -> &Option<f64>
[src]
The WGS84 altitude of a SpatialThing (decimal meters above the local reference ellipsoid).
pub fn lat(&self) -> &Option<f64>
[src]
The WGS84 latitude of a SpatialThing (decimal degrees).
pub fn long(&self) -> &Option<f64>
[src]
The WGS84 longitude of a SpatialThing (decimal degrees).
pub fn mappable_address(&self) -> &Option<String>
[src]
A textual address that can be mapped using mapping software.
pub fn name(&self) -> &Option<String>
[src]
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn note(&self) -> &Option<String>
[src]
impl SpatialThing
[src]
pub fn set_alt(&mut self, val: Option<f64>) -> &mut Self
[src]
The WGS84 altitude of a SpatialThing (decimal meters above the local reference ellipsoid).
pub fn set_lat(&mut self, val: Option<f64>) -> &mut Self
[src]
The WGS84 latitude of a SpatialThing (decimal degrees).
pub fn set_long(&mut self, val: Option<f64>) -> &mut Self
[src]
The WGS84 longitude of a SpatialThing (decimal degrees).
pub fn set_mappable_address(&mut self, val: Option<String>) -> &mut Self
[src]
A textual address that can be mapped using mapping software.
pub fn set_name(&mut self, val: Option<String>) -> &mut Self
[src]
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn set_note(&mut self, val: Option<String>) -> &mut Self
[src]
impl SpatialThing
[src]
pub fn alt_mut(&mut self) -> &mut Option<f64>
[src]
The WGS84 altitude of a SpatialThing (decimal meters above the local reference ellipsoid).
pub fn lat_mut(&mut self) -> &mut Option<f64>
[src]
The WGS84 latitude of a SpatialThing (decimal degrees).
pub fn long_mut(&mut self) -> &mut Option<f64>
[src]
The WGS84 longitude of a SpatialThing (decimal degrees).
pub fn mappable_address_mut(&mut self) -> &mut Option<String>
[src]
A textual address that can be mapped using mapping software.
pub fn name_mut(&mut self) -> &mut Option<String>
[src]
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn note_mut(&mut self) -> &mut Option<String>
[src]
impl SpatialThing
[src]
pub fn builder() -> SpatialThingBuilder
[src]
Create an empty builder object for SpatialThing
pub fn into_builder(self) -> SpatialThingBuilder
[src]
Turns SpatialThing into SpatialThingBuilder
Trait Implementations
impl Clone for SpatialThing
[src]
fn clone(&self) -> SpatialThing
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SpatialThing
[src]
impl<'de> Deserialize<'de> for SpatialThing
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<SpatialThing> for SpatialThing
[src]
fn eq(&self, other: &SpatialThing) -> bool
[src]
fn ne(&self, other: &SpatialThing) -> bool
[src]
impl Serialize for SpatialThing
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SpatialThing
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpatialThing
impl Send for SpatialThing
impl Sync for SpatialThing
impl Unpin for SpatialThing
impl UnwindSafe for SpatialThing
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,