[−][src]Function codespan_lsp::position_to_byte_index
pub fn position_to_byte_index<Source: AsRef<str>>(
files: &Files<Source>,
file_id: FileId,
position: &LspPosition
) -> Result<ByteIndex, Error>
pub fn position_to_byte_index<Source: AsRef<str>>(
files: &Files<Source>,
file_id: FileId,
position: &LspPosition
) -> Result<ByteIndex, Error>