Skip to main content

Document

Type Alias Document 

Source
pub type Document = Pdf;
Expand description

A parsed PDF. Parse once (not per page) — re-parsing a large file for every page is slow and churns the allocator. hayro’s Pdf is Send + Sync (std feature) and caches pages internally, so it’s shared via Arc across the background render tasks.

Aliased Type§

pub struct Document { /* private fields */ }