☰
ToOffset
Required Methods
to_offset
Implementations on Foreign Types
&'a T
usize
Implementors
In text2
?
Trait
text2
::
ToOffset
source
·
[
−
]
pub trait ToOffset { // Required method fn
to_offset
(&self, snapshot: &
BufferSnapshot
) ->
usize
; }
Required Methods
§
source
fn
to_offset
(&self, snapshot: &
BufferSnapshot
) ->
usize
Implementations on Foreign Types
§
source
§
impl<'a, T:
ToOffset
>
ToOffset
for
&'a T
source
§
fn
to_offset
(&self, content: &
BufferSnapshot
) ->
usize
source
§
impl
ToOffset
for
usize
source
§
fn
to_offset
(&self, snapshot: &
BufferSnapshot
) ->
usize
Implementors
§
source
§
impl
ToOffset
for
Anchor
source
§
impl
ToOffset
for
Point
source
§
impl
ToOffset
for
PointUtf16
source
§
impl
ToOffset
for
Unclipped
<
PointUtf16
>