#[repr(C)]pub struct Array {
pub data: *const c_void,
pub len: size_t,
}
Expand description
Wrapper for a void pointer to a sequence of 2-element arrays representing points, and the sequence length. Used for FFI.
Used for the outer Polygon shell. data
is a Vec<[c_double; 2]>
.
Fields§
§data: *const c_void
§len: size_t
Auto Trait Implementations§
impl RefUnwindSafe for Array
impl !Send for Array
impl !Sync for Array
impl Unpin for Array
impl UnwindSafe for Array
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