Expand description
The LineSpan represents a single line’s location in a Gopher menu.
It only exists in the context of a Menu struct - its link
field is its index in the Menu’s links
Vec, and
start/end/text_end point to locations in Menu’s raw
Gopher
response.
You won’t really interact with this directly, instead call
menu.lines()
get an iter over Line
or menu.line(idx)
to get
a single Line.
Fields§
§typ: Type
Gopher Item Type.
link: usize
Index of this link in the Menu::links vector, if it’s a
gopher::Type.is_link()