pub struct ArrowDeviceArrayOwned { /* private fields */ }Implementations§
Source§impl ArrowDeviceArrayOwned
impl ArrowDeviceArrayOwned
pub fn as_ptr(&self) -> *mut ArrowDeviceArray
pub fn into_raw(self) -> *mut ArrowDeviceArray
Sourcepub unsafe fn from_raw(ptr: *mut ArrowDeviceArray) -> Self
pub unsafe fn from_raw(ptr: *mut ArrowDeviceArray) -> Self
Rebuild an owned wrapper from a raw ArrowDeviceArray pointer.
§Safety
ptr must be a valid, uniquely owned pointer produced by
ArrowDeviceArrayOwned::into_raw or an equivalent allocation that
transfers ownership of the underlying ArrowDeviceArray.
Source§impl ArrowDeviceArrayOwned
impl ArrowDeviceArrayOwned
Sourcepub unsafe fn into_ffi_parts(
self,
) -> (i32, i32, FFI_ArrowArray, FFI_ArrowSchema)
pub unsafe fn into_ffi_parts( self, ) -> (i32, i32, FFI_ArrowArray, FFI_ArrowSchema)
Take ownership of the underlying FFI array + schema.
§Safety
The caller must ensure the returned FFI objects are eventually released.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArrowDeviceArrayOwned
impl RefUnwindSafe for ArrowDeviceArrayOwned
impl !Send for ArrowDeviceArrayOwned
impl !Sync for ArrowDeviceArrayOwned
impl Unpin for ArrowDeviceArrayOwned
impl UnsafeUnpin for ArrowDeviceArrayOwned
impl UnwindSafe for ArrowDeviceArrayOwned
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