pub struct H3Array<IX> { /* private fields */ }
Implementations§
Source§impl H3Array<CellIndex>
impl H3Array<CellIndex>
pub fn resolution(&self) -> ResolutionArray
pub fn area_rads2(&self) -> Float64Array
pub fn area_km2(&self) -> Float64Array
pub fn area_m2(&self) -> Float64Array
pub fn parent(&self, resolution: Resolution) -> Self
pub fn children( &self, resolution: Resolution, ) -> Result<H3ListArray<CellIndex>, Error>
pub fn children_count(&self, resolution: Resolution) -> UInt64Array
Source§impl H3Array<DirectedEdgeIndex>
impl H3Array<DirectedEdgeIndex>
pub fn origin(&self) -> CellIndexArray
pub fn destination(&self) -> CellIndexArray
pub fn length_rads(&self) -> Float64Array
pub fn length_km(&self) -> Float64Array
pub fn length_m(&self) -> Float64Array
Source§impl H3Array<VertexIndex>
impl H3Array<VertexIndex>
pub fn owner(&self) -> CellIndexArray
Source§impl<IX> H3Array<IX>where
IX: H3IndexArrayValue,
impl<IX> H3Array<IX>where
IX: H3IndexArrayValue,
pub fn new_null(length: usize) -> Self
pub fn primitive_array(&self) -> &UInt64Array
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn slice(&self, offset: usize, length: usize) -> Self
Sourcepub fn iter(&self) -> PrimitiveArrayH3IndexIter<'_, IX> ⓘ
pub fn iter(&self) -> PrimitiveArrayH3IndexIter<'_, IX> ⓘ
Returns an iterator over the values and validity as Option.
Source§impl<IX> H3Array<IX>where
IX: H3IndexArrayValue + RectIndexable,
impl<IX> H3Array<IX>where
IX: H3IndexArrayValue + RectIndexable,
pub fn spatial_index(&self) -> SpatialIndex<IX>
Trait Implementations§
Source§impl<IX> From<H3Array<IX>> for UInt64Array
impl<IX> From<H3Array<IX>> for UInt64Array
Source§impl<IX> From<H3Array<IX>> for SpatialIndex<IX>where
IX: H3IndexArrayValue + RectIndexable,
impl<IX> From<H3Array<IX>> for SpatialIndex<IX>where
IX: H3IndexArrayValue + RectIndexable,
Source§impl<IX> FromIterator<IX> for H3Array<IX>where
IX: H3IndexArrayValue,
impl<IX> FromIterator<IX> for H3Array<IX>where
IX: H3IndexArrayValue,
Source§fn from_iter<T: IntoIterator<Item = IX>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = IX>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl<IX> FromIterator<Option<IX>> for H3Array<IX>where
IX: H3IndexArrayValue,
impl<IX> FromIterator<Option<IX>> for H3Array<IX>where
IX: H3IndexArrayValue,
Source§impl<IX> FromIteratorWithValidity<Option<u64>> for H3Array<IX>where
IX: H3IndexArrayValue,
impl<IX> FromIteratorWithValidity<Option<u64>> for H3Array<IX>where
IX: H3IndexArrayValue,
fn from_iter_with_validity<T: IntoIterator<Item = Option<u64>>>(iter: T) -> Self
Source§impl<IX> FromIteratorWithValidity<u64> for H3Array<IX>where
IX: H3IndexArrayValue,
impl<IX> FromIteratorWithValidity<u64> for H3Array<IX>where
IX: H3IndexArrayValue,
fn from_iter_with_validity<T: IntoIterator<Item = u64>>(iter: T) -> Self
Source§impl<IX> FromWithValidity<PrimitiveArray<UInt64Type>> for H3Array<IX>where
IX: H3IndexArrayValue,
impl<IX> FromWithValidity<PrimitiveArray<UInt64Type>> for H3Array<IX>where
IX: H3IndexArrayValue,
fn from_with_validity(value: UInt64Array) -> Self
Source§impl<IX> FromWithValidity<Vec<Option<u64>>> for H3Array<IX>where
IX: H3IndexArrayValue,
impl<IX> FromWithValidity<Vec<Option<u64>>> for H3Array<IX>where
IX: H3IndexArrayValue,
Source§impl<IX> FromWithValidity<Vec<u64>> for H3Array<IX>where
IX: H3IndexArrayValue,
impl<IX> FromWithValidity<Vec<u64>> for H3Array<IX>where
IX: H3IndexArrayValue,
fn from_with_validity(value: Vec<u64>) -> Self
Source§impl GridOp for H3Array<CellIndex>
impl GridOp for H3Array<CellIndex>
fn grid_disk<O: OffsetSizeTrait>( &self, k: u32, ) -> Result<H3ListArray<CellIndex, O>, Error>
fn grid_disk_distances<O: OffsetSizeTrait>( &self, k: u32, ) -> Result<GridDiskDistances<O>, Error>
fn grid_ring_distances<O: OffsetSizeTrait>( &self, k_min: u32, k_max: u32, ) -> Result<GridDiskDistances<O>, Error>
fn grid_disk_aggregate_k( &self, k: u32, k_agg_method: KAggregationMethod, ) -> Result<GridDiskAggregateK, Error>
Source§impl<O: OffsetSizeTrait, IX> ToGenericStringArray<O> for H3Array<IX>where
IX: H3IndexArrayValue + Display,
impl<O: OffsetSizeTrait, IX> ToGenericStringArray<O> for H3Array<IX>where
IX: H3IndexArrayValue + Display,
fn to_genericstringarray(&self) -> Result<GenericStringArray<O>, Error>
Source§impl<T> ToWKBLineStrings for H3Array<T>where
Self: IterLines,
T: H3IndexArrayValue,
impl<T> ToWKBLineStrings for H3Array<T>where
Self: IterLines,
T: H3IndexArrayValue,
Source§impl<T> ToWKBPoints for H3Array<T>where
Self: IterPoints,
T: H3IndexArrayValue,
impl<T> ToWKBPoints for H3Array<T>where
Self: IterPoints,
T: H3IndexArrayValue,
type Error = <H3Array<T> as IterPoints>::Error
fn to_wkb_points<O: OffsetSizeTrait>( &self, use_degrees: bool, ) -> Result<WKBArray<O>, Self::Error>
Source§impl<T> ToWKBPolygons for H3Array<T>where
Self: IterPolygons,
T: H3IndexArrayValue,
impl<T> ToWKBPolygons for H3Array<T>where
Self: IterPolygons,
T: H3IndexArrayValue,
type Error = <H3Array<T> as IterPolygons>::Error
fn to_wkb_polygons<O: OffsetSizeTrait>( &self, use_degrees: bool, ) -> Result<WKBArray<O>, Self::Error>
Source§impl<IX, O: OffsetSizeTrait> TryFrom<GenericByteArray<GenericStringType<O>>> for H3Array<IX>
impl<IX, O: OffsetSizeTrait> TryFrom<GenericByteArray<GenericStringType<O>>> for H3Array<IX>
Source§impl<IX, O: OffsetSizeTrait> TryFrom<H3Array<IX>> for GenericStringArray<O>
impl<IX, O: OffsetSizeTrait> TryFrom<H3Array<IX>> for GenericStringArray<O>
Source§impl<IX> TryFrom<PrimitiveArray<UInt64Type>> for H3Array<IX>
impl<IX> TryFrom<PrimitiveArray<UInt64Type>> for H3Array<IX>
impl<IX> StructuralPartialEq for H3Array<IX>
Auto Trait Implementations§
impl<IX> Freeze for H3Array<IX>
impl<IX> RefUnwindSafe for H3Array<IX>where
IX: RefUnwindSafe,
impl<IX> Send for H3Array<IX>where
IX: Send,
impl<IX> Sync for H3Array<IX>where
IX: Sync,
impl<IX> Unpin for H3Array<IX>where
IX: Unpin,
impl<IX> UnwindSafe for H3Array<IX>where
IX: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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