Skip to main content

offset

Function offset 

Source
pub fn offset(input: &mut Input<'_>) -> PResult<usize>
Expand description

Zero-consuming parser returning the current byte offset — used to record a reference site’s offset (e.g. a channel’s sender/receiver, a mapping’s region name) alongside its own span.