pub fn column_number(&self, id: u32, line_index: usize, byte_index: usize) -> Option<usize> {
        let source = self.source(id)?;
        let line_range = self.line_range(id, line_index)?;
        let column_index = column_index(source.as_ref(), line_range, byte_index);

        Some(column_index + 1)
    }
/// The user-facing column number at the given line index and byte index.
///
/// # Note for trait implementors
///
/// This is usually 1-indexed from the the start of the line.
/// A default implementation is provided, based on the [`column_index`]
/// function that is exported from the [`files`] module.
///
/// [`files`]: crate::files
/// [`column_index`]: crate::files::column_index
The user-facing column number at the given line index and byte index.
The user - facing column number at the given line index and byte index .
pub fn column_number(&self, id: u32, line_index: usize, byte_index: usize) -> Option<usize> {
        let source = self.source(id)?;
        let line_range = self.line_range(id, line_index)?;
        let column_index = column_index(source.as_ref(), line_range, byte_index);
        Some(column_index + 1)
    }
pub fn column_number ( & self , id : u32 , line_index : usize , byte_index : usize ) -> Option < usize > { let source = self . source ( id ) ? ; let line_range = self . line_range ( id , line_index ) ? ; let column_index = column_index ( source . as_ref ( ) , line_range , byte_index ) ; Some ( column_index + 1 ) }
The user-facing column number at the given line index and byte index.
The user - facing column number at the given line index and byte index .
&self
id
u32
line_index
usize
byte_index
usize
&self
id
u32
line_index
usize
byte_index
usize
note for trait implementors
This is usually 1-indexed from the the start of the line.
A default implementation is provided, based on the [`column_index`]
function that is exported from the [`files`] module.


This is usually 1 - indexed from the the start of the line . A default implementation is provided based on the [ ` column_index ` ] function that is exported from the [ ` files ` ] module .