Skip to main content

OrtWriteNamedBufferFunc

Type Alias OrtWriteNamedBufferFunc 

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

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.