Type Alias OrthancPluginDecodeImageCallback

Source
pub type OrthancPluginDecodeImageCallback = Option<unsafe extern "C" fn(target: *mut *mut OrthancPluginImage, dicom: *const c_void, size: u32, frameIndex: u32) -> OrthancPluginErrorCode>;
Expand description

@brief Signature of a callback function to decode a DICOM instance as an image. @ingroup Callbacks

Aliased Type§

pub enum OrthancPluginDecodeImageCallback {
    None,
    Some(unsafe extern "C" fn(*mut *mut _OrthancPluginImage_t, *const c_void, u32, u32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut *mut _OrthancPluginImage_t, *const c_void, u32, u32) -> i32)

Some value of type T.