Skip to main content

OrtReadNamedBufferFunc

Type Alias OrtReadNamedBufferFunc 

Source
pub type OrtReadNamedBufferFunc = Option<unsafe extern "system" fn(state: *mut c_void, name: *const c_char, allocator: *mut OrtAllocator, buffer: *mut *mut c_void, data_size: *mut usize) -> OrtStatusPtr>;

Aliased Type§

pub enum OrtReadNamedBufferFunc {
    None,
    Some(unsafe extern "system" fn(*mut c_void, *const i8, *mut OrtAllocator, *mut *mut c_void, *mut usize) -> OrtStatusPtr),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(*mut c_void, *const i8, *mut OrtAllocator, *mut *mut c_void, *mut usize) -> OrtStatusPtr)

Some value of type T.