#[non_exhaustive]pub enum FormType {
None,
AcroForm,
XfaFull,
XfaForeground,
Unknown(i32),
}Expand description
The kind of interactive form a document contains, per
FPDF_GetFormType.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
No interactive form.
AcroForm
AcroForm (the widely supported kind; renderable by this crate).
XfaFull
Full XFA form. PDFium default builds cannot render XFA content; AcroForm fallback pages, if present, may still render.
XfaForeground
XFA foreground (XFAF) subset.
Unknown(i32)
A value this crate does not recognize (newer PDFium).
Implementations§
Trait Implementations§
impl Copy for FormType
impl Eq for FormType
impl StructuralPartialEq for FormType
Auto Trait Implementations§
impl Freeze for FormType
impl RefUnwindSafe for FormType
impl Send for FormType
impl Sync for FormType
impl Unpin for FormType
impl UnsafeUnpin for FormType
impl UnwindSafe for FormType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more