pub struct ObjectId {
pub number: u32,
pub generation: u16,
}Expand description
Unique identifier for a PDF indirect object.
PDF indirect objects are identified by a (number, generation) pair. The generation number is incremented when an object is updated in an incremental PDF update.
Fields§
§number: u32Object number (1-based in the PDF file).
generation: u16Generation number (0 for newly created objects).
Implementations§
Trait Implementations§
impl Copy for ObjectId
impl Eq for ObjectId
impl StructuralPartialEq for ObjectId
Auto Trait Implementations§
impl Freeze for ObjectId
impl RefUnwindSafe for ObjectId
impl Send for ObjectId
impl Sync for ObjectId
impl Unpin for ObjectId
impl UnsafeUnpin for ObjectId
impl UnwindSafe for ObjectId
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