Struct pdfium_render::bindgen::FPDF_LIBRARY_CONFIG_
source · [−]#[repr(C)]pub struct FPDF_LIBRARY_CONFIG_ {
pub version: c_int,
pub m_pUserFontPaths: *mut *const c_char,
pub m_pIsolate: *mut c_void,
pub m_v8EmbedderSlot: c_uint,
pub m_pPlatform: *mut c_void,
}Expand description
Process-wide options for initializing the library.
Fields
version: c_intVersion number of the interface. Currently must be 2. Support for version 1 will be deprecated in the future.
m_pUserFontPaths: *mut *const c_charArray of paths to scan in place of the defaults when using built-in FXGE font loading code. The array is terminated by a NULL pointer. The Array may be NULL itself to use the default paths. May be ignored entirely depending upon the platform.
m_pIsolate: *mut c_voidPointer to the v8::Isolate to use, or NULL to force PDFium to create one.
m_v8EmbedderSlot: c_uintThe embedder data slot to use in the v8::Isolate to store PDFium’s per-isolate data. The value needs to be in the range [0, |v8::Internals::kNumIsolateDataLots|). Note that 0 is fine for most embedders.
m_pPlatform: *mut c_voidPointer to the V8::Platform to use.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FPDF_LIBRARY_CONFIG_
impl !Send for FPDF_LIBRARY_CONFIG_
impl !Sync for FPDF_LIBRARY_CONFIG_
impl Unpin for FPDF_LIBRARY_CONFIG_
impl UnwindSafe for FPDF_LIBRARY_CONFIG_
Blanket Implementations
Mutably borrows from an owned value. Read more