Skip to main content

Module objects

Module objects 

Source
Expand description

PDF Object Types (Writer Module)

§Migration Notice

This module is being unified with the parser types in crate::pdf_objects. The types here will be deprecated in v1.6.0 and removed in v2.0.0.

Migration Path:

  • objects::Objectcrate::pdf_objects::Object
  • objects::Dictionarycrate::pdf_objects::Dictionary
  • objects::ObjectIdcrate::pdf_objects::ObjectId
  • objects::Arraycrate::pdf_objects::Array
  • objects::Streamcrate::pdf_objects::Stream

The unified types in pdf_objects provide:

  • Zero-overhead conversion between parser and writer
  • Type-safe newtypes (Name, BinaryString)
  • Consistent API across the library
  • Better support for binary PDF strings

Structs§

Array
Dictionary
ObjectId
Stream

Enums§

Object

Type Aliases§

ObjectReference