Struct syntax::codemap::BytePos[src]
pub struct BytePos(pub u32);
A byte offset. Keep this small (currently 32-bits), as AST contains a lot of them.
pub struct BytePos(pub u32);
A byte offset. Keep this small (currently 32-bits), as AST contains a lot of them.
impl Pos for BytePosimpl Add<BytePos, BytePos> for BytePosimpl Sub<BytePos, BytePos> for BytePosimpl Show for BytePosimpl PartialOrd for BytePosfn lt(&self, __arg_0: &BytePos) -> boolfn le(&self, __arg_0: &BytePos) -> boolfn gt(&self, __arg_0: &BytePos) -> boolfn ge(&self, __arg_0: &BytePos) -> boolimpl<__S: Writer> Hash<__S> for BytePosfn hash(&self, __arg_0: &mut __S)impl Eq for BytePosfn assert_receiver_is_total_eq(&self)impl PartialEq for BytePosimpl Clone for BytePosfn clone(&self) -> BytePosfn clone_from(&mut self, source: &Self)
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).