pub struct Span {
pub offset: usize,
pub size: usize,
}Expand description
A container’s place in a payload: its offset and its size, as its own header states it.
Fields§
§offset: usizeByte offset of the container’s DXBC magic within the payload.
size: usizeThe container’s size in bytes, from its own header (offset 24); the container ends at offset + size.
Trait Implementations§
impl Copy for Span
impl Eq for Span
impl StructuralPartialEq for Span
Auto Trait Implementations§
impl Freeze for Span
impl RefUnwindSafe for Span
impl Send for Span
impl Sync for Span
impl Unpin for Span
impl UnsafeUnpin for Span
impl UnwindSafe for Span
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