#[repr(C)]pub struct cuvsDataset {
pub addr: usize,
pub destroy_addr: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
pub dtype: DLDataType,
pub mem_type: cuvsDatasetMemType_t,
pub layout: cuvsDatasetLayout_t,
pub is_owning: bool,
}Expand description
@brief Dataset handle representing owning storage or a non-owning view.
addr points to C++ dataset storage or view metadata managed by the C API. mem_type
identifies the memory space, layout identifies the data layout, and is_owning indicates
whether the handle owns its backing data.
Fields§
§addr: usize§destroy_addr: Option<unsafe extern "C" fn(arg1: *mut c_void)>§dtype: DLDataType§mem_type: cuvsDatasetMemType_t§layout: cuvsDatasetLayout_t§is_owning: boolTrait Implementations§
Source§impl Clone for cuvsDataset
impl Clone for cuvsDataset
impl Copy for cuvsDataset
Auto Trait Implementations§
impl Freeze for cuvsDataset
impl RefUnwindSafe for cuvsDataset
impl Send for cuvsDataset
impl Sync for cuvsDataset
impl Unpin for cuvsDataset
impl UnsafeUnpin for cuvsDataset
impl UnwindSafe for cuvsDataset
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