pub enum SeekStyle { SeekSet, SeekEnd, SeekCur, }
The SeekStyle enum describes the relationship between the position
we'd like to seek to from our current position. It's used as an argument
to the seek
method defined on the Reader
trait.
There are three seek styles:
SeekSet
means that the new position should become our position.SeekCur
means that we should seek from the current position.SeekEnd
means that we should seek from the end.None right now.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).