pub type RegisterCustomOpsFn = Option<unsafe extern "C" fn(options: *mut OrtSessionOptions, api: *const OrtApiBase) -> *mut OrtStatus>;

Aliased Type§

enum RegisterCustomOpsFn {
    None,
    Some(unsafe extern "C" fn(_: *mut OrtSessionOptions, _: *const OrtApiBase) -> *mut OrtStatus),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut OrtSessionOptions, _: *const OrtApiBase) -> *mut OrtStatus)

Some value of type T.