Type Alias CoerceParamHook

Source
pub type CoerceParamHook = Option<unsafe extern "C" fn(pstate: *mut ParseState, param: *mut Param, targetTypeId: Oid, targetTypeMod: int32, location: c_int) -> *mut Node>;

Aliased Type§

pub enum CoerceParamHook {
    None,
    Some(unsafe extern "C" fn(*mut ParseState, *mut Param, Oid, i32, i32) -> *mut Node),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut ParseState, *mut Param, Oid, i32, i32) -> *mut Node)

Some value of type T.