pub struct XEntry { /* private fields */ }Expand description
Represents a cross-reference table entry.
XRef entries map object numbers to their file positions and track whether objects are in use.
Implementations§
Source§impl XEntry
impl XEntry
Sourcepub fn get_obj_num(&self) -> u32
pub fn get_obj_num(&self) -> u32
Returns the object number of the entry.
Sourcepub fn get_gen_num(&self) -> u16
pub fn get_gen_num(&self) -> u16
Returns the generation number of the entry.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XEntry
impl RefUnwindSafe for XEntry
impl Send for XEntry
impl Sync for XEntry
impl Unpin for XEntry
impl UnwindSafe for XEntry
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