Struct rdp::InternalArray
source · #[repr(C)]pub struct InternalArray {
pub data: *mut c_void,
pub len: size_t,
}
Expand description
A C-compatible struct
originating inside Rust
used for passing arrays across the FFI boundary
Fields§
§data: *mut c_void
§len: size_t
Trait Implementations§
source§impl From<InternalArray> for LineString<f64>
impl From<InternalArray> for LineString<f64>
source§fn from(arr: InternalArray) -> Self
fn from(arr: InternalArray) -> Self
Converts to this type from the input type.
source§impl From<InternalArray> for Vec<usize>
impl From<InternalArray> for Vec<usize>
source§fn from(arr: InternalArray) -> Self
fn from(arr: InternalArray) -> Self
Converts to this type from the input type.
source§impl<T> From<LineString<T>> for InternalArraywhere
T: CoordFloat,
impl<T> From<LineString<T>> for InternalArraywhere T: CoordFloat,
source§fn from(sl: LineString<T>) -> Self
fn from(sl: LineString<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for InternalArray
impl !Send for InternalArray
impl !Sync for InternalArray
impl Unpin for InternalArray
impl UnwindSafe for InternalArray
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