pub struct GeometryArray(/* private fields */);
Implementations§
Source§impl GeometryArray
impl GeometryArray
pub fn affine_transform( &self, transform: BroadcastableAffine, ) -> WasmResult<GeometryArray>
pub fn area(&self) -> WasmResult<FloatArray>
pub fn center(&self) -> WasmResult<PointArray>
pub fn centroid(&self) -> WasmResult<PointArray>
pub fn convex_hull(&self) -> WasmResult<PolygonArray>
pub fn euclidean_length(&self) -> WasmResult<FloatArray>
pub fn geodesic_area(&self) -> WasmResult<FloatArray>
pub fn geodesic_area_signed(&self) -> WasmResult<FloatArray>
pub fn geodesic_length(&self) -> WasmResult<FloatArray>
pub fn haversine_length(&self) -> WasmResult<FloatArray>
pub fn is_empty(&self) -> WasmResult<BooleanArray>
pub fn rotate( &self, angle: BroadcastableFloat, origin: TransformOrigin, ) -> WasmResult<GeometryArray>
pub fn scale( &self, xfact: BroadcastableFloat, yfact: BroadcastableFloat, origin: TransformOrigin, ) -> WasmResult<GeometryArray>
pub fn signed_area(&self) -> WasmResult<FloatArray>
pub fn skew( &self, x_degrees: BroadcastableFloat, y_degrees: BroadcastableFloat, origin: TransformOrigin, ) -> WasmResult<GeometryArray>
pub fn to_ffi(&self) -> FFIArrowArray
pub fn translate( &self, x_offset: BroadcastableFloat, y_offset: BroadcastableFloat, ) -> WasmResult<GeometryArray>
pub fn vincenty_length(&self) -> WasmResult<FloatArray>
Source§impl GeometryArray
impl GeometryArray
pub fn from_point_array(arr: PointArray) -> Self
pub fn from_line_string_array(arr: LineStringArray) -> Self
pub fn from_polygon_array(arr: PolygonArray) -> Self
pub fn from_multi_point_array(arr: MultiPointArray) -> Self
pub fn from_multi_line_string_array(arr: MultiLineStringArray) -> Self
pub fn from_multi_polygon_array(arr: MultiPolygonArray) -> Self
pub fn geometry_type(&self) -> GeometryType
Trait Implementations§
Source§impl From<&GeometryArray> for GeometryArray
impl From<&GeometryArray> for GeometryArray
Source§fn from(value: &GeometryArray) -> Self
fn from(value: &GeometryArray) -> Self
Converts to this type from the input type.
Source§impl From<GeometryArray> for JsValue
impl From<GeometryArray> for JsValue
Source§fn from(value: GeometryArray) -> Self
fn from(value: GeometryArray) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for GeometryArray
impl FromWasmAbi for GeometryArray
Source§impl IntoWasmAbi for GeometryArray
impl IntoWasmAbi for GeometryArray
Source§impl LongRefFromWasmAbi for GeometryArray
impl LongRefFromWasmAbi for GeometryArray
Source§impl OptionFromWasmAbi for GeometryArray
impl OptionFromWasmAbi for GeometryArray
Source§impl OptionIntoWasmAbi for GeometryArray
impl OptionIntoWasmAbi for GeometryArray
Source§impl RefFromWasmAbi for GeometryArray
impl RefFromWasmAbi for GeometryArray
Source§type Anchor = RcRef<GeometryArray>
type Anchor = RcRef<GeometryArray>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for GeometryArray
impl RefMutFromWasmAbi for GeometryArray
Source§impl TryFromJsValue for GeometryArray
impl TryFromJsValue for GeometryArray
Source§impl VectorFromWasmAbi for GeometryArray
impl VectorFromWasmAbi for GeometryArray
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[GeometryArray]>
Source§impl VectorIntoJsValue for GeometryArray
impl VectorIntoJsValue for GeometryArray
fn vector_into_jsvalue(vector: Box<[GeometryArray]>) -> JsValue
Source§impl VectorIntoWasmAbi for GeometryArray
impl VectorIntoWasmAbi for GeometryArray
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[GeometryArray]>) -> Self::Abi
Source§impl WasmDescribeVector for GeometryArray
impl WasmDescribeVector for GeometryArray
impl SupportsConstructor for GeometryArray
impl SupportsInstanceProperty for GeometryArray
impl SupportsStaticProperty for GeometryArray
Auto Trait Implementations§
impl Freeze for GeometryArray
impl RefUnwindSafe for GeometryArray
impl Send for GeometryArray
impl Sync for GeometryArray
impl Unpin for GeometryArray
impl UnwindSafe for GeometryArray
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> 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 moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.