Trait source_map::encodings::StringEncoding
source · pub trait StringEncoding {
// Required methods
fn new() -> Self;
fn get_encoded_length(string: &str) -> usize;
fn encoded_length_to_byte_count(string: &str, length: usize) -> usize;
}