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 Freeze for IndirectObject
impl RefUnwindSafe for IndirectObject
impl Send for IndirectObject
impl Sync for IndirectObject
impl Unpin for IndirectObject
impl UnsafeUnpin for IndirectObject
impl UnwindSafe for IndirectObject
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