Module object

Source
Expand description

Parsing and reading from PDF objects.

Re-exports§

pub use crate::object::array::Array;
pub use crate::object::dict::Dict;
pub use crate::object::stream::Stream;

Modules§

array
Arrays.
dict
Dictionaries.
stream
Streams.

Structs§

Name
A name.
Null
The null object.
Number
A number.
ObjRef
A reference to an object.
ObjectIdentifier
An identifier for a PDF object.
Rect
A rectangle.
String
A string.

Enums§

MaybeRef
A struct that is either an object or a reference to an object.
Object
A primitive PDF object.

Functions§

dict_or_stream
A convenience function that extracts a dict and a stream from an object. If the object is just a dictionary, it will return None for the stream. If the object is a stream, it will return its dictionary as well as the stream itself.