geoarrow2::array::point

Struct PointArray

Source
pub struct PointArray {
    pub coords: CoordBuffer,
    pub validity: Option<NullBuffer>,
    /* private fields */
}
Expand description

An immutable array of Point geometries using GeoArrow’s in-memory representation.

This is semantically equivalent to Vec<Option<Point>> due to the internal validity bitmap.

Fields§

§coords: CoordBuffer§validity: Option<NullBuffer>

Implementations§

Source§

impl PointArray

Source

pub fn new(coords: CoordBuffer, validity: Option<NullBuffer>) -> Self

Create a new PointArray from parts

§Implementation

This function is O(1).

§Panics
  • if the validity is not None and its length is different from the number of geometries
Source

pub fn try_new( coords: CoordBuffer, validity: Option<NullBuffer>, ) -> Result<Self, GeoArrowError>

Create a new PointArray from parts

§Implementation

This function is O(1).

§Errors
  • if the validity is not None and its length is different from the number of geometries
Source

pub fn into_inner(self) -> (CoordBuffer, Option<NullBuffer>)

Source§

impl PointArray

Source

pub fn iter_geo_values(&self) -> impl Iterator<Item = Point> + '_

Iterator over geo Geometry objects, not looking at validity

Source

pub fn iter_geo( &self, ) -> ZipValidity<Point, impl Iterator<Item = Point> + '_, BitIterator<'_>>

Iterator over geo Geometry objects, taking into account validity

Source§

impl<'a> PointArray

Source

pub fn iter(&'a self) -> PointArrayIter<'_>

Returns an iterator of Option<Point>

Trait Implementations§

Source§

impl AffineOps<AffineTransform> for PointArray

Source§

fn affine_transform(&self, transform: &AffineTransform) -> Self

Apply transform immutably, outputting a new geometry.
Source§

impl AffineOps<Vec<AffineTransform>> for PointArray

Source§

fn affine_transform(&self, transform: &Vec<AffineTransform>) -> Self

Apply transform immutably, outputting a new geometry.
Source§

impl Area for PointArray

Source§

impl BoundingRect for PointArray

Source§

fn bounding_rect(&self) -> RectArray

Return the bounding rectangle of a geometry Read more
Source§

impl Center for PointArray

Source§

impl Centroid for PointArray

Source§

impl ChamberlainDuquetteArea for PointArray

Source§

impl Clone for PointArray

Source§

fn clone(&self) -> PointArray

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a, O: OffsetSizeTrait> Contains<LineString<'a, O>> for PointArray

Source§

fn contains(&self, rhs: &LineString<'a, O>) -> BooleanArray

Source§

impl<'a> Contains<LineString> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Contains<LineStringArray<O>> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Contains<MultiLineString<'a, O>> for PointArray

Source§

fn contains(&self, rhs: &MultiLineString<'a, O>) -> BooleanArray

Source§

impl<'a> Contains<MultiLineString> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Contains<MultiLineStringArray<O>> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPoint<'a, O>> for PointArray

Source§

fn contains(&self, rhs: &MultiPoint<'a, O>) -> BooleanArray

Source§

impl<'a> Contains<MultiPoint> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPointArray<O>> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPolygon<'a, O>> for PointArray

Source§

fn contains(&self, rhs: &MultiPolygon<'a, O>) -> BooleanArray

Source§

impl<'a> Contains<MultiPolygon> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPolygonArray<O>> for PointArray

Source§

impl<'a> Contains<Point<'a>> for PointArray

Source§

fn contains(&self, rhs: &Point<'a>) -> BooleanArray

Source§

impl<'a> Contains<Point> for PointArray

Source§

fn contains(&self, rhs: &Point) -> BooleanArray

Source§

impl<'a, O: OffsetSizeTrait> Contains<PointArray> for LineStringArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Contains<PointArray> for MultiLineStringArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Contains<PointArray> for MultiPointArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Contains<PointArray> for MultiPolygonArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Contains<PointArray> for PolygonArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Contains<Polygon<'a, O>> for PointArray

Source§

fn contains(&self, rhs: &Polygon<'a, O>) -> BooleanArray

Source§

impl<'a> Contains<Polygon> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Contains<PolygonArray<O>> for PointArray

Source§

impl Contains for PointArray

Source§

fn contains(&self, rhs: &Self) -> BooleanArray

Source§

impl<O: OffsetSizeTrait> ConvexHull<O> for PointArray

Source§

impl Debug for PointArray

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PointArray

Default to an empty array

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<LineString<'a, O>> for PointArray

Source§

fn euclidean_distance(&self, other: &LineString<'a, O>) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<LineStringArray<O>> for PointArray

Source§

fn euclidean_distance(&self, other: &LineStringArray<O>) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<MultiLineString<'a, O>> for PointArray

Source§

fn euclidean_distance(&self, other: &MultiLineString<'a, O>) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<MultiLineStringArray<O>> for PointArray

Source§

fn euclidean_distance(&self, other: &MultiLineStringArray<O>) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<MultiPoint<'a, O>> for PointArray

Source§

fn euclidean_distance(&self, other: &MultiPoint<'a, O>) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<MultiPointArray<O>> for PointArray

Source§

fn euclidean_distance(&self, other: &MultiPointArray<O>) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<MultiPolygon<'a, O>> for PointArray

Source§

fn euclidean_distance(&self, other: &MultiPolygon<'a, O>) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<MultiPolygonArray<O>> for PointArray

Source§

fn euclidean_distance(&self, other: &MultiPolygonArray<O>) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a> EuclideanDistance<Point<'a>> for PointArray

Source§

fn euclidean_distance(&self, other: &Point<'a>) -> Float64Array

Minimum distance between two Points

Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<PointArray> for LineStringArray<O>

Source§

fn euclidean_distance(&self, other: &PointArray) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<PointArray> for MultiLineStringArray<O>

Source§

fn euclidean_distance(&self, other: &PointArray) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<PointArray> for MultiPointArray<O>

Source§

fn euclidean_distance(&self, other: &PointArray) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<PointArray> for MultiPolygonArray<O>

Source§

fn euclidean_distance(&self, other: &PointArray) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl EuclideanDistance<PointArray> for PointArray

Source§

fn euclidean_distance(&self, other: &PointArray) -> Float64Array

Minimum distance between two Points

Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<PointArray> for PolygonArray<O>

Source§

fn euclidean_distance(&self, other: &PointArray) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<Polygon<'a, O>> for PointArray

Source§

fn euclidean_distance(&self, other: &Polygon<'a, O>) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<PolygonArray<O>> for PointArray

Source§

fn euclidean_distance(&self, other: &PolygonArray<O>) -> Float64Array

Returns the distance between two geometries Read more
Source§

impl EuclideanLength for PointArray

Source§

fn euclidean_length(&self) -> Float64Array

Calculation of the length of a Line Read more
Source§

impl<O: OffsetSizeTrait> From<&PointArray> for WKBArray<O>

Source§

fn from(value: &PointArray) -> Self

Converts to this type from the input type.
Source§

impl From<MutablePointArray> for PointArray

Source§

fn from(other: MutablePointArray) -> Self

Converts to this type from the input type.
Source§

impl<O: OffsetSizeTrait> From<PointArray> for GeometryArray<O>

Source§

fn from(value: PointArray) -> Self

Converts to this type from the input type.
Source§

impl<G: PointTrait<T = f64>> From<Vec<'_, G>> for PointArray

Source§

fn from(other: Vec<'_, G>) -> Self

Converts to this type from the input type.
Source§

impl<G: PointTrait<T = f64>> From<Vec<'_, Option<G>>> for PointArray

Source§

fn from(other: Vec<'_, Option<G>>) -> Self

Converts to this type from the input type.
Source§

impl<G: PointTrait<T = f64>> From<Vec<G>> for PointArray

Source§

fn from(other: Vec<G>) -> Self

Converts to this type from the input type.
Source§

impl<G: PointTrait<T = f64>> From<Vec<Option<G>>> for PointArray

Source§

fn from(other: Vec<Option<G>>) -> Self

Converts to this type from the input type.
Source§

impl<'a> GeoArrayAccessor<'a> for PointArray

Source§

type Item = Point<'a>

The geoarrow scalar object for this geometry array type.
Source§

type ItemGeo = Point

The geo scalar object for this geometry array type.
Source§

unsafe fn value_unchecked(&'a self, index: usize) -> Self::Item

Returns the element at index i Read more
Source§

fn value(&'a self, index: usize) -> Self::Item

Returns the element at index i Read more
Source§

fn get(&'a self, index: usize) -> Option<Self::Item>

Access the value at slot i as an Arrow scalar, considering validity.
Source§

fn value_as_geo(&'a self, i: usize) -> Self::ItemGeo

Access the value at slot i as a geo scalar, not considering validity.
Source§

fn get_as_geo(&'a self, i: usize) -> Option<Self::ItemGeo>

Access the value at slot i as a geo scalar, considering validity.
Source§

impl GeodesicArea for PointArray

Source§

fn geodesic_perimeter(&self) -> Float64Array

Determine the perimeter of a geometry on an ellipsoidal model of the earth. Read more
Source§

fn geodesic_area_signed(&self) -> Float64Array

Determine the area of a geometry on an ellipsoidal model of the earth. Read more
Source§

fn geodesic_area_unsigned(&self) -> Float64Array

Determine the area of a geometry on an ellipsoidal model of the earth. Supports very large geometries that cover a significant portion of the earth. Read more
Source§

fn geodesic_perimeter_area_signed(&self) -> (Float64Array, Float64Array)

Determine the perimeter and area of a geometry on an ellipsoidal model of the earth, all in one operation. Read more
Source§

fn geodesic_perimeter_area_unsigned(&self) -> (Float64Array, Float64Array)

Determine the perimeter and area of a geometry on an ellipsoidal model of the earth, all in one operation. Supports very large geometries that cover a significant portion of the earth. Read more
Source§

impl GeodesicLength for PointArray

Source§

fn geodesic_length(&self) -> Float64Array

Determine the length of a geometry on an ellipsoidal model of the earth. Read more
Source§

impl<'a> GeometryArrayTrait<'a> for PointArray

Source§

fn len(&self) -> usize

Returns the number of geometries in this array

Source§

fn validity(&self) -> Option<&NullBuffer>

Returns the optional validity.

Source§

fn slice(&self, offset: usize, length: usize) -> Self

Slices this PointArray in place.

§Panic

This function panics iff offset + length > self.len().

Source§

fn as_any(&self) -> &dyn Any

Returns the array as Any so that it can be downcasted to a specific implementation. Read more
Source§

fn data_type(&self) -> &GeoDataType

Returns a reference to the DataType of this array. Read more
Source§

fn storage_type(&self) -> DataType

Get the logical DataType of this array.
Source§

fn extension_field(&self) -> Arc<Field>

Get the extension type of this array, as defined by the GeoArrow specification. Read more
Source§

fn extension_name(&self) -> &str

Get the extension name of this array.
Source§

fn into_array_ref(self) -> ArrayRef

Convert this array into an arced arrow array. Read more
Source§

fn with_coords(self, coords: CoordBuffer) -> Self

Create a new array with replaced coordinates Read more
Source§

fn coord_type(&self) -> CoordType

Get the coordinate type of this geometry array, either interleaved or separated.
Source§

fn into_coord_type(self, coord_type: CoordType) -> Self

Cast the coordinate buffer of this geometry array to the given coordinate type.
Source§

fn owned_slice(&self, offset: usize, length: usize) -> Self

A slice that fully copies the contents of the underlying buffer
Source§

fn is_empty(&self) -> bool

Returns true if the array is empty.
Source§

fn nulls(&self) -> Option<&NullBuffer>

Source§

fn logical_nulls(&self) -> Option<NullBuffer>

Source§

fn null_count(&self) -> usize

The number of null slots in this array. Read more
Source§

fn is_null(&self, i: usize) -> bool

Returns whether slot i is null. Read more
Source§

fn is_valid(&self, i: usize) -> bool

Returns whether slot i is valid. Read more
Source§

impl HasDimensions for PointArray

Source§

fn is_empty(&self) -> BooleanArray

Some geometries, like a MultiPoint, can have zero coordinates - we call these empty. Read more
Source§

impl HaversineLength for PointArray

Source§

fn haversine_length(&self) -> Float64Array

Determine the length of a geometry using the haversine formula. Read more
Source§

impl<'a, O: OffsetSizeTrait> Intersects<LineString<'a, O>> for PointArray

Source§

fn intersects(&self, rhs: &LineString<'a, O>) -> BooleanArray

Source§

impl<'a> Intersects<LineString> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Intersects<LineStringArray<O>> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiLineString<'a, O>> for PointArray

Source§

impl<'a> Intersects<MultiLineString> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiLineStringArray<O>> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPoint<'a, O>> for PointArray

Source§

fn intersects(&self, rhs: &MultiPoint<'a, O>) -> BooleanArray

Source§

impl<'a> Intersects<MultiPoint> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPointArray<O>> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPolygon<'a, O>> for PointArray

Source§

fn intersects(&self, rhs: &MultiPolygon<'a, O>) -> BooleanArray

Source§

impl<'a> Intersects<MultiPolygon> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPolygonArray<O>> for PointArray

Source§

impl<'a> Intersects<Point<'a>> for PointArray

Source§

fn intersects(&self, rhs: &Point<'a>) -> BooleanArray

Source§

impl<'a> Intersects<Point> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Intersects<PointArray> for LineStringArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Intersects<PointArray> for MultiLineStringArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Intersects<PointArray> for MultiPointArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Intersects<PointArray> for MultiPolygonArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Intersects<PointArray> for PolygonArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Intersects<Polygon<'a, O>> for PointArray

Source§

fn intersects(&self, rhs: &Polygon<'a, O>) -> BooleanArray

Source§

impl<'a> Intersects<Polygon> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Intersects<PolygonArray<O>> for PointArray

Source§

impl Intersects for PointArray

Source§

fn intersects(&self, rhs: &Self) -> BooleanArray

Source§

impl IntoArrow for PointArray

Source§

impl<O: OffsetSizeTrait> LineLocatePoint<PointArray> for LineStringArray<O>

Source§

impl MinimumRotatedRect<i32> for PointArray

Source§

impl MinimumRotatedRect<i64> for PointArray

Source§

impl PartialEq for PointArray

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> RTree<'a> for PointArray

Source§

type RTreeObject = Point<'a>

The object type to store in the RTree.
Source§

fn rstar_tree(&'a self) -> RTree<Self::RTreeObject>

Build an RTree spatial index containing this array’s geometries.
Source§

impl RemoveRepeatedPoints for PointArray

Source§

fn remove_repeated_points(&self) -> Self

Create a new geometry with (consecutive) repeated points removed.
Source§

impl Rotate<PrimitiveArray<Float64Type>> for PointArray

Source§

fn rotate_around_centroid(&self, degrees: &Float64Array) -> Self

Rotate a geometry around its centroid by an angle, in degrees Read more
Source§

fn rotate_around_center(&self, degrees: &Float64Array) -> Self

Rotate a geometry around the center of its bounding box by an angle, in degrees. Read more
Source§

fn rotate_around_point(&self, degrees: &Float64Array, point: Point) -> Self

Rotate a Geometry around an arbitrary point by an angle, given in degrees Read more
Source§

impl Rotate<f64> for PointArray

Source§

fn rotate_around_centroid(&self, degrees: &f64) -> Self

Rotate a geometry around its centroid by an angle, in degrees Read more
Source§

fn rotate_around_center(&self, degrees: &f64) -> Self

Rotate a geometry around the center of its bounding box by an angle, in degrees. Read more
Source§

fn rotate_around_point(&self, degrees: &f64, point: Point) -> Self

Rotate a Geometry around an arbitrary point by an angle, given in degrees Read more
Source§

impl Scale for PointArray

Source§

fn scale(&self, scale_factor: BroadcastablePrimitive<Float64Type>) -> Self

Scale geometries from its bounding box center. Read more
Source§

fn scale_xy( &self, x_factor: BroadcastablePrimitive<Float64Type>, y_factor: BroadcastablePrimitive<Float64Type>, ) -> Self

Scale geometries from its bounding box center, using different values for x_factor and y_factor to distort the geometry’s aspect ratio. Read more
Source§

fn scale_around_point( &self, x_factor: BroadcastablePrimitive<Float64Type>, y_factor: BroadcastablePrimitive<Float64Type>, origin: Point, ) -> Self

Scale geometries around a point of origin. Read more
Source§

impl Simplify for PointArray

Source§

fn simplify(&self, _epsilon: &f64) -> Self

Returns the simplified representation of a geometry, using the Ramer–Douglas–Peucker algorithm Read more
Source§

impl SimplifyVw for PointArray

Source§

fn simplify_vw(&self, _epsilon: &f64) -> Self

Returns the simplified representation of a geometry, using the Visvalingam-Whyatt algorithm Read more
Source§

impl Skew for PointArray

Source§

fn skew(&self, scale_factor: BroadcastablePrimitive<Float64Type>) -> Self

An affine transformation which skews a geometry, sheared by a uniform angle along the x and y dimensions. Read more
Source§

fn skew_xy( &self, x_factor: BroadcastablePrimitive<Float64Type>, y_factor: BroadcastablePrimitive<Float64Type>, ) -> Self

An affine transformation which skews a geometry, sheared by an angle along the x and y dimensions. Read more
Source§

fn skew_around_point( &self, x_factor: BroadcastablePrimitive<Float64Type>, y_factor: BroadcastablePrimitive<Float64Type>, origin: Point, ) -> Self

An affine transformation which skews a geometry around a point of origin, sheared by an angle along the x and y dimensions. Read more
Source§

impl Translate for PointArray

Source§

fn translate( &self, x_offset: BroadcastablePrimitive<Float64Type>, y_offset: BroadcastablePrimitive<Float64Type>, ) -> Self

Translate a Geometry along its axes by the given offsets Read more
Source§

impl TryFrom<&FixedSizeListArray> for PointArray

Source§

type Error = GeoArrowError

The type returned in the event of a conversion error.
Source§

fn try_from(value: &FixedSizeListArray) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&StructArray> for PointArray

Source§

type Error = GeoArrowError

The type returned in the event of a conversion error.
Source§

fn try_from(value: &StructArray) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&dyn Array> for PointArray

Source§

type Error = GeoArrowError

The type returned in the event of a conversion error.
Source§

fn try_from(value: &dyn Array) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<O: OffsetSizeTrait> TryFrom<PointArray> for MultiPointArray<O>

Source§

type Error = GeoArrowError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PointArray) -> Result<Self>

Performs the conversion.
Source§

impl<O: OffsetSizeTrait> TryFrom<WKBArray<O>> for PointArray

Source§

type Error = GeoArrowError

The type returned in the event of a conversion error.
Source§

fn try_from(value: WKBArray<O>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TypeIds for PointArray

Source§

fn get_type_ids(&self) -> Int8Array

Return the geometry types stored in this array Read more
Source§

fn get_unique_type_ids(&self) -> HashSet<i8>

Return the unique geometry types stored in this array Read more
Source§

impl VincentyLength for PointArray

Source§

fn vincenty_length(&self) -> Result<Float64Array>

Determine the length of a geometry using Vincenty’s formulae. Read more
Source§

impl<'a, O: OffsetSizeTrait> Within<LineString<'a, O>> for PointArray

Source§

fn is_within(&self, rhs: &LineString<'a, O>) -> BooleanArray

Source§

impl<'a> Within<LineString> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Within<LineStringArray<O>> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Within<MultiLineString<'a, O>> for PointArray

Source§

impl<'a> Within<MultiLineString> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Within<MultiLineStringArray<O>> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Within<MultiPoint<'a, O>> for PointArray

Source§

fn is_within(&self, rhs: &MultiPoint<'a, O>) -> BooleanArray

Source§

impl<'a> Within<MultiPoint> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Within<MultiPointArray<O>> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Within<MultiPolygon<'a, O>> for PointArray

Source§

fn is_within(&self, rhs: &MultiPolygon<'a, O>) -> BooleanArray

Source§

impl<'a> Within<MultiPolygon> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Within<MultiPolygonArray<O>> for PointArray

Source§

impl<'a> Within<Point<'a>> for PointArray

Source§

fn is_within(&self, rhs: &Point<'a>) -> BooleanArray

Source§

impl<'a> Within<Point> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Within<PointArray> for LineStringArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Within<PointArray> for MultiLineStringArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Within<PointArray> for MultiPointArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Within<PointArray> for MultiPolygonArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Within<PointArray> for PolygonArray<O>

Source§

impl<'a, O: OffsetSizeTrait> Within<Polygon<'a, O>> for PointArray

Source§

fn is_within(&self, rhs: &Polygon<'a, O>) -> BooleanArray

Source§

impl<'a> Within<Polygon> for PointArray

Source§

impl<'a, O: OffsetSizeTrait> Within<PolygonArray<O>> for PointArray

Source§

impl Within for PointArray

Source§

fn is_within(&self, rhs: &Self) -> BooleanArray

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<G1, G2> Within<G2> for G1
where G2: Contains<G1>,

Source§

fn is_within(&self, b: &G2) -> bool

Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,