pub type WS_ENCODER_GET_CONTENT_TYPE_CALLBACK = Option<unsafe extern "system" fn(encodercontext: *const c_void, contenttype: *const WS_STRING, newcontenttype: *mut WS_STRING, contentencoding: *mut WS_STRING, error: *const WS_ERROR) -> HRESULT>;

Aliased Type§

enum WS_ENCODER_GET_CONTENT_TYPE_CALLBACK {
    None,
    Some(unsafe extern "system" fn(_: *const c_void, _: *const WS_STRING, _: *mut WS_STRING, _: *mut WS_STRING, _: *const WS_ERROR) -> HRESULT),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(_: *const c_void, _: *const WS_STRING, _: *mut WS_STRING, _: *mut WS_STRING, _: *const WS_ERROR) -> HRESULT)

Some value of type T.