pub struct CrossReference {
pub offset: u64,
pub generation: u32,
pub free: bool,
}Expand description
Represents a cross reference entry.
Fields§
§offset: u6410-digit byte offset in the decoded stream.
generation: u325-digit generation number.
free: boolWhether the entry is free.
Trait Implementations§
Source§impl Clone for CrossReference
impl Clone for CrossReference
Source§fn clone(&self) -> CrossReference
fn clone(&self) -> CrossReference
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CrossReference
impl Debug for CrossReference
Source§impl Hash for CrossReference
impl Hash for CrossReference
Source§impl Ord for CrossReference
impl Ord for CrossReference
Source§fn cmp(&self, other: &CrossReference) -> Ordering
fn cmp(&self, other: &CrossReference) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CrossReference
impl PartialEq for CrossReference
Source§impl PartialOrd for CrossReference
impl PartialOrd for CrossReference
impl Copy for CrossReference
impl Eq for CrossReference
impl StructuralPartialEq for CrossReference
Auto Trait Implementations§
impl Freeze for CrossReference
impl RefUnwindSafe for CrossReference
impl Send for CrossReference
impl Sync for CrossReference
impl Unpin for CrossReference
impl UnwindSafe for CrossReference
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