pub(crate) struct FieldPos {
start: u32,
end: u32,
}Expand description
A byte range of a field in a Message, used in QuickFields.
Some invalid encodings (end = 0) are used to indicate “not cached” and “not present”.
Fields§
§start: u32§end: u32Implementations§
Trait Implementations§
impl Copy for FieldPos
Auto Trait Implementations§
impl Freeze for FieldPos
impl RefUnwindSafe for FieldPos
impl Send for FieldPos
impl Sync for FieldPos
impl Unpin for FieldPos
impl UnwindSafe for FieldPos
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more