Type Alias PushFunction

Source
pub type PushFunction = Option<unsafe extern "C" fn(opaque: Datum, state: TSQueryParserState, token: *mut c_char, tokenlen: c_int, tokenweights: int16, prefix: bool)>;

Aliased Type§

pub enum PushFunction {
    None,
    Some(unsafe extern "C" fn(Datum, *mut TSQueryParserStateData, *mut i8, i32, i16, bool)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(Datum, *mut TSQueryParserStateData, *mut i8, i32, i16, bool))

Some value of type T.