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