Struct ag::lang::QueryPosition [−][src]
pub struct QueryPosition(pub usize);
Expand description
Container for the position of some syntax in the input string. This is similar to the Span, but it only contains the offset.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for QueryPosition
impl Send for QueryPosition
impl Sync for QueryPosition
impl Unpin for QueryPosition
impl UnwindSafe for QueryPosition
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self