#[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_int

Version number of the interface. Currently must be 2. Support for version 1 will be deprecated in the future.

m_pUserFontPaths: *mut *const c_char

Array 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_void

Pointer to the v8::Isolate to use, or NULL to force PDFium to create one.

m_v8EmbedderSlot: c_uint

The 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_void

Pointer to the V8::Platform to use.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.