Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
vendor
/
papergrid
/
src
/
config
/
spanned
/
offset.rs
blob: 03055ca348ab96fe4527bcb08980f346c7b8b695 [
file
] [
log
] [
blame
]
/// The structure represents an offset in a text.
#[
derive
(
Debug
,
Clone
,
Copy
,
PartialEq
,
Eq
,
Hash
,
PartialOrd
,
Ord
)]
pub
enum
Offset
{
/// An offset from the start.
Begin
(
usize
),
/// An offset from the end.
End
(
usize
),
}