Trait tree_sitter::Decode

source ·
pub trait Decode {
    // Required method
    fn decode(bytes: &[u8]) -> (i32, u32);
}

Required Methods§

source

fn decode(bytes: &[u8]) -> (i32, u32)

A callback that decodes the next code point from the input slice. It should return the code point, and how many bytes were decoded.

Object Safety§

This trait is not object safe.

Implementors§