pub trait LogosGetChar {
// Required method
fn logos_get_char(&self, index: i64) -> char;
}Expand description
Zero-allocation character access for string comparisons.
Unlike LogosIndex for String which returns a String,
this trait returns a char — avoiding heap allocation entirely.
Used by the codegen optimizer for string-index-vs-string-index comparisons.