Struct polylabel::WrapperArray
source · #[repr(C)]pub struct WrapperArray {
pub data: *const Array,
pub len: size_t,
}
Expand description
Wrapper for a void pointer to a sequence of Array
s, and the sequence length. Used for FFI.
Each sequence entry represents an inner Polygon ring.
Fields§
§data: *const Array
§len: size_t
Trait Implementations§
source§impl Clone for WrapperArray
impl Clone for WrapperArray
source§fn clone(&self) -> WrapperArray
fn clone(&self) -> WrapperArray
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for WrapperArray
Auto Trait Implementations§
impl RefUnwindSafe for WrapperArray
impl !Send for WrapperArray
impl !Sync for WrapperArray
impl Unpin for WrapperArray
impl UnwindSafe for WrapperArray
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