Struct vf_rs::geo::builders::SpatialThingBuilder
source · pub struct SpatialThingBuilder { /* private fields */ }
Expand description
Builder for SpatialThing
.
Implementations§
source§impl SpatialThingBuilder
impl SpatialThingBuilder
sourcepub fn alt<VALUE: Into<Option<f64>>>(self, value: VALUE) -> Self
pub fn alt<VALUE: Into<Option<f64>>>(self, value: VALUE) -> Self
The WGS84 altitude of a SpatialThing (decimal meters above the local reference ellipsoid).
sourcepub fn lat<VALUE: Into<Option<f64>>>(self, value: VALUE) -> Self
pub fn lat<VALUE: Into<Option<f64>>>(self, value: VALUE) -> Self
The WGS84 latitude of a SpatialThing (decimal degrees).
sourcepub fn long<VALUE: Into<Option<f64>>>(self, value: VALUE) -> Self
pub fn long<VALUE: Into<Option<f64>>>(self, value: VALUE) -> Self
The WGS84 longitude of a SpatialThing (decimal degrees).
sourcepub fn mappable_address<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn mappable_address<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
A textual address that can be mapped using mapping software.
sourcepub fn name<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn name<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn note<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
sourcepub fn build(self) -> Result<SpatialThing, SpatialThingBuilderError>
pub fn build(self) -> Result<SpatialThing, SpatialThingBuilderError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpatialThingBuilder
impl RefUnwindSafe for SpatialThingBuilder
impl Send for SpatialThingBuilder
impl Sync for SpatialThingBuilder
impl Unpin for SpatialThingBuilder
impl UnwindSafe for SpatialThingBuilder
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