pub trait GeospatialGeometryTrait {
Show 20 methods
// Required methods
fn get_geo_contains(&self) -> &[GeoContainsProperty];
fn take_geo_contains(&mut self) -> Vec<GeoContainsProperty>;
fn get_geo_covered_by(&self) -> &[GeoCoveredByProperty];
fn take_geo_covered_by(&mut self) -> Vec<GeoCoveredByProperty>;
fn get_geo_covers(&self) -> &[GeoCoversProperty];
fn take_geo_covers(&mut self) -> Vec<GeoCoversProperty>;
fn get_geo_crosses(&self) -> &[GeoCrossesProperty];
fn take_geo_crosses(&mut self) -> Vec<GeoCrossesProperty>;
fn get_geo_disjoint(&self) -> &[GeoDisjointProperty];
fn take_geo_disjoint(&mut self) -> Vec<GeoDisjointProperty>;
fn get_geo_equals(&self) -> &[GeoEqualsProperty];
fn take_geo_equals(&mut self) -> Vec<GeoEqualsProperty>;
fn get_geo_intersects(&self) -> &[GeoIntersectsProperty];
fn take_geo_intersects(&mut self) -> Vec<GeoIntersectsProperty>;
fn get_geo_overlaps(&self) -> &[GeoOverlapsProperty];
fn take_geo_overlaps(&mut self) -> Vec<GeoOverlapsProperty>;
fn get_geo_touches(&self) -> &[GeoTouchesProperty];
fn take_geo_touches(&mut self) -> Vec<GeoTouchesProperty>;
fn get_geo_within(&self) -> &[GeoWithinProperty];
fn take_geo_within(&mut self) -> Vec<GeoWithinProperty>;
}
Expand description
This trait is for properties from https://schema.org/GeospatialGeometry.
Required Methods§
sourcefn get_geo_contains(&self) -> &[GeoContainsProperty]
fn get_geo_contains(&self) -> &[GeoContainsProperty]
Get https://schema.org/geoContains from Self
as borrowed slice.
sourcefn take_geo_contains(&mut self) -> Vec<GeoContainsProperty>
fn take_geo_contains(&mut self) -> Vec<GeoContainsProperty>
Take https://schema.org/geoContains from Self
as owned vector.
sourcefn get_geo_covered_by(&self) -> &[GeoCoveredByProperty]
fn get_geo_covered_by(&self) -> &[GeoCoveredByProperty]
Get https://schema.org/geoCoveredBy from Self
as borrowed slice.
sourcefn take_geo_covered_by(&mut self) -> Vec<GeoCoveredByProperty>
fn take_geo_covered_by(&mut self) -> Vec<GeoCoveredByProperty>
Take https://schema.org/geoCoveredBy from Self
as owned vector.
sourcefn get_geo_covers(&self) -> &[GeoCoversProperty]
fn get_geo_covers(&self) -> &[GeoCoversProperty]
Get https://schema.org/geoCovers from Self
as borrowed slice.
sourcefn take_geo_covers(&mut self) -> Vec<GeoCoversProperty>
fn take_geo_covers(&mut self) -> Vec<GeoCoversProperty>
Take https://schema.org/geoCovers from Self
as owned vector.
sourcefn get_geo_crosses(&self) -> &[GeoCrossesProperty]
fn get_geo_crosses(&self) -> &[GeoCrossesProperty]
Get https://schema.org/geoCrosses from Self
as borrowed slice.
sourcefn take_geo_crosses(&mut self) -> Vec<GeoCrossesProperty>
fn take_geo_crosses(&mut self) -> Vec<GeoCrossesProperty>
Take https://schema.org/geoCrosses from Self
as owned vector.
sourcefn get_geo_disjoint(&self) -> &[GeoDisjointProperty]
fn get_geo_disjoint(&self) -> &[GeoDisjointProperty]
Get https://schema.org/geoDisjoint from Self
as borrowed slice.
sourcefn take_geo_disjoint(&mut self) -> Vec<GeoDisjointProperty>
fn take_geo_disjoint(&mut self) -> Vec<GeoDisjointProperty>
Take https://schema.org/geoDisjoint from Self
as owned vector.
sourcefn get_geo_equals(&self) -> &[GeoEqualsProperty]
fn get_geo_equals(&self) -> &[GeoEqualsProperty]
Get https://schema.org/geoEquals from Self
as borrowed slice.
sourcefn take_geo_equals(&mut self) -> Vec<GeoEqualsProperty>
fn take_geo_equals(&mut self) -> Vec<GeoEqualsProperty>
Take https://schema.org/geoEquals from Self
as owned vector.
sourcefn get_geo_intersects(&self) -> &[GeoIntersectsProperty]
fn get_geo_intersects(&self) -> &[GeoIntersectsProperty]
Get https://schema.org/geoIntersects from Self
as borrowed slice.
sourcefn take_geo_intersects(&mut self) -> Vec<GeoIntersectsProperty>
fn take_geo_intersects(&mut self) -> Vec<GeoIntersectsProperty>
Take https://schema.org/geoIntersects from Self
as owned vector.
sourcefn get_geo_overlaps(&self) -> &[GeoOverlapsProperty]
fn get_geo_overlaps(&self) -> &[GeoOverlapsProperty]
Get https://schema.org/geoOverlaps from Self
as borrowed slice.
sourcefn take_geo_overlaps(&mut self) -> Vec<GeoOverlapsProperty>
fn take_geo_overlaps(&mut self) -> Vec<GeoOverlapsProperty>
Take https://schema.org/geoOverlaps from Self
as owned vector.
sourcefn get_geo_touches(&self) -> &[GeoTouchesProperty]
fn get_geo_touches(&self) -> &[GeoTouchesProperty]
Get https://schema.org/geoTouches from Self
as borrowed slice.
sourcefn take_geo_touches(&mut self) -> Vec<GeoTouchesProperty>
fn take_geo_touches(&mut self) -> Vec<GeoTouchesProperty>
Take https://schema.org/geoTouches from Self
as owned vector.
sourcefn get_geo_within(&self) -> &[GeoWithinProperty]
fn get_geo_within(&self) -> &[GeoWithinProperty]
Get https://schema.org/geoWithin from Self
as borrowed slice.
sourcefn take_geo_within(&mut self) -> Vec<GeoWithinProperty>
fn take_geo_within(&mut self) -> Vec<GeoWithinProperty>
Take https://schema.org/geoWithin from Self
as owned vector.