pub struct IndirectObject {
pub id: ObjId,
pub value: Object,
pub provenance: Provenance,
}Expand description
A parsed indirect object: identifier, value, and the provenance that makes minimal-diff re-emission possible.
See Provenance for why the location is a discriminated union
rather than a plain span.
Fields§
§id: ObjIdThe (num, gen) identity.
value: ObjectThe parsed value between obj and endobj (or, for a
compressed object, the bare value stored in its container —
§7.5.7: “the obj and endobj keywords shall not be used”).
provenance: ProvenanceWhere this object’s definition physically lives.
Implementations§
Trait Implementations§
Source§impl Clone for IndirectObject
impl Clone for IndirectObject
Source§impl Debug for IndirectObject
impl Debug for IndirectObject
Source§impl PartialEq for IndirectObject
impl PartialEq for IndirectObject
impl StructuralPartialEq for IndirectObject
Auto Trait Implementations§
impl Forget for IndirectObject
impl Freeze for IndirectObjectwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Object>: Freeze,
PhantomData<(Name, Object)>: Freeze,
impl Move for IndirectObject
impl RefUnwindSafe for IndirectObject
impl Send for IndirectObjectwhere
RawVecInner: Send,
impl Sync for IndirectObjectwhere
RawVecInner: Sync,
impl Unpin for IndirectObject
impl UnsafeUnpin for IndirectObjectwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Object>: UnsafeUnpin,
PhantomData<(Name, Object)>: UnsafeUnpin,
impl UnwindSafe for IndirectObjectwhere
RawVecInner: UnwindSafe,
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