Struct rustc_hir_pretty::BytePos [−][src]
pub(crate) struct BytePos(pub u32);Expand description
A byte offset.
Keep this small (currently 32-bits), as AST contains a lot of them.
Tuple Fields
0: u32Auto Trait Implementations
impl RefUnwindSafe for BytePos
impl UnwindSafe for BytePos
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes