pub struct GeoFeature {
pub target: GeoTarget,
pub key: ElementKey,
pub geometry: GeoGeometry,
pub from: Option<String>,
pub to: Option<String>,
pub kind: Option<CoordsKind>,
}Expand description
One point or route in a GeoLayer.
Fields§
§target: GeoTarget§key: ElementKey§geometry: GeoGeometry§from: Option<String>Endpoint bus references for a branch, the unordered fallback identity.
to: Option<String>§kind: Option<CoordsKind>Per feature provenance when it differs from the layer default.
Trait Implementations§
Source§impl Clone for GeoFeature
impl Clone for GeoFeature
Source§fn clone(&self) -> GeoFeature
fn clone(&self) -> GeoFeature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GeoFeature
impl Debug for GeoFeature
Source§impl PartialEq for GeoFeature
impl PartialEq for GeoFeature
Source§fn eq(&self, other: &GeoFeature) -> bool
fn eq(&self, other: &GeoFeature) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GeoFeature
Auto Trait Implementations§
impl Freeze for GeoFeature
impl RefUnwindSafe for GeoFeature
impl Send for GeoFeature
impl Sync for GeoFeature
impl Unpin for GeoFeature
impl UnsafeUnpin for GeoFeature
impl UnwindSafe for GeoFeature
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