xberg-pdfium-render 1.1.1

High-level idiomatic Rust wrapper around Pdfium. Fork of pdfium-render with Xberg patches.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Defines the [PdfiumApiVersion] enum for the supported Pdfium API version.

/// The Pdfium `FPDF_*` API release version used by this build.
#[derive(Copy, Clone, Debug, PartialEq)]
pub enum PdfiumApiVersion {
    V7678,
}

impl PdfiumApiVersion {
    /// Returns the Pdfium API version this crate was compiled against.
    pub(crate) fn current() -> Self {
        PdfiumApiVersion::V7678
    }
}