pub struct MultiPolygonArray(/* private fields */);
Implementations§
Source§impl MultiPolygonArray
impl MultiPolygonArray
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>
Trait Implementations§
Source§impl From<&MultiPolygonArray> for GeometryArray
impl From<&MultiPolygonArray> for GeometryArray
Source§fn from(value: &MultiPolygonArray) -> Self
fn from(value: &MultiPolygonArray) -> Self
Converts to this type from the input type.
Source§impl From<MultiPolygonArray> for JsValue
impl From<MultiPolygonArray> for JsValue
Source§fn from(value: MultiPolygonArray) -> Self
fn from(value: MultiPolygonArray) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for MultiPolygonArray
impl FromWasmAbi for MultiPolygonArray
Source§impl IntoWasmAbi for MultiPolygonArray
impl IntoWasmAbi for MultiPolygonArray
Source§impl RefFromWasmAbi for MultiPolygonArray
impl RefFromWasmAbi for MultiPolygonArray
Source§type Anchor = RcRef<MultiPolygonArray>
type Anchor = RcRef<MultiPolygonArray>
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 TryFromJsValue for MultiPolygonArray
impl TryFromJsValue for MultiPolygonArray
Source§impl VectorFromWasmAbi for MultiPolygonArray
impl VectorFromWasmAbi for MultiPolygonArray
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[MultiPolygonArray]>
Source§impl VectorIntoJsValue for MultiPolygonArray
impl VectorIntoJsValue for MultiPolygonArray
fn vector_into_jsvalue(vector: Box<[MultiPolygonArray]>) -> JsValue
Source§impl VectorIntoWasmAbi for MultiPolygonArray
impl VectorIntoWasmAbi for MultiPolygonArray
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[MultiPolygonArray]>) -> Self::Abi
Source§impl WasmDescribeVector for MultiPolygonArray
impl WasmDescribeVector for MultiPolygonArray
impl SupportsConstructor for MultiPolygonArray
impl SupportsInstanceProperty for MultiPolygonArray
impl SupportsStaticProperty for MultiPolygonArray
Auto Trait Implementations§
impl Freeze for MultiPolygonArray
impl RefUnwindSafe for MultiPolygonArray
impl Send for MultiPolygonArray
impl Sync for MultiPolygonArray
impl Unpin for MultiPolygonArray
impl UnwindSafe for MultiPolygonArray
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
.