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