Skip to main content
position_to_offset
swls_
core
0.2.1
In swls_
core::
util
swls_core
::
util
Function
position_
to_
offset
Copy item path
Source
pub fn position_to_offset(position:
Position
, rope: &
LineIndex
) ->
Option
<
usize
>