pub struct XrefSectionInfo {
pub xref: Xref,
pub kind: XrefKind,
pub prev: Option<i64>,
pub xrefstm: Option<i64>,
pub span: Span,
pub trailer_span: Option<Span>,
}Expand description
One parsed cross-reference section with its byte extents, for element iteration and for chain walkers that fetch byte ranges on demand.
Fields§
§xref: XrefThis section’s entries plus its trailer keys.
kind: XrefKind§prev: Option<i64>The trailer’s /Prev value, when present.
xrefstm: Option<i64>The classic trailer’s /XRefStm value (hybrid files), when present.
span: SpanByte range of the section itself: the xref table (excluding its
trailer) or the whole cross-reference stream object.
trailer_span: Option<Span>Classic sections: byte range of trailer << … >>. Stream sections
have no separate trailer region.
Trait Implementations§
Source§impl Clone for XrefSectionInfo
impl Clone for XrefSectionInfo
Source§fn clone(&self) -> XrefSectionInfo
fn clone(&self) -> XrefSectionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for XrefSectionInfo
impl RefUnwindSafe for XrefSectionInfo
impl Send for XrefSectionInfo
impl Sync for XrefSectionInfo
impl Unpin for XrefSectionInfo
impl UnsafeUnpin for XrefSectionInfo
impl UnwindSafe for XrefSectionInfo
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