Type Alias tree_sitter::ffi::TSDecodeFunction

source ·
pub type TSDecodeFunction = Option<unsafe extern "C" fn(string: *const u8, length: u32, code_point: *mut i32) -> u32>;

Aliased Type§

enum TSDecodeFunction {
    None,
    Some(unsafe extern "C" fn(_: *const u8, _: u32, _: *mut i32) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const u8, _: u32, _: *mut i32) -> u32)

Some value of type T.