pub enum Entry {
Offset(u64),
InObjStream {
stream: ObjRef,
index: u32,
},
Free,
}Expand description
Where one object lives.
The three variants are the three things a cross-reference entry can say (ISO 32000-1 tables 18 and 18): the object is at a byte offset, it is packed inside an object stream, or it is not there at all.
Variants§
Offset(u64)
The object’s N G obj header starts at this byte offset.
InObjStream
The object is the index-th member of an object stream.
Fields
Free
The slot is free: the object was deleted, or never existed.
Trait Implementations§
impl Copy for Entry
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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