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