// The as_pdfium() function is not currently used, but we expect it to be in future
The as_pdfium() function is not currently used, but we expect it to be in future
The as_pdfium () function is not currently used but we expect it to be in future
pub(crate) fn as_pdfium(&self) -> u32 {
        match self {
            PdfFormFieldType::Unknown => FPDF_FORMFIELD_UNKNOWN,
            PdfFormFieldType::PushButton => FPDF_FORMFIELD_PUSHBUTTON,
            PdfFormFieldType::Checkbox => FPDF_FORMFIELD_CHECKBOX,
            PdfFormFieldType::RadioButton => FPDF_FORMFIELD_RADIOBUTTON,
            PdfFormFieldType::ComboBox => FPDF_FORMFIELD_COMBOBOX,
            PdfFormFieldType::ListBox => FPDF_FORMFIELD_LISTBOX,
            PdfFormFieldType::TextField => FPDF_FORMFIELD_TEXTFIELD,
            PdfFormFieldType::Signature => FPDF_FORMFIELD_SIGNATURE,
        }
    }
pub ( crate ) fn as_pdfium ( & self ) -> u32 { match self { PdfFormFieldType :: Unknown => FPDF_FORMFIELD_UNKNOWN , PdfFormFieldType :: PushButton => FPDF_FORMFIELD_PUSHBUTTON , PdfFormFieldType :: Checkbox => FPDF_FORMFIELD_CHECKBOX , PdfFormFieldType :: RadioButton => FPDF_FORMFIELD_RADIOBUTTON , PdfFormFieldType :: ComboBox => FPDF_FORMFIELD_COMBOBOX , PdfFormFieldType :: ListBox => FPDF_FORMFIELD_LISTBOX , PdfFormFieldType :: TextField => FPDF_FORMFIELD_TEXTFIELD , PdfFormFieldType :: Signature => FPDF_FORMFIELD_SIGNATURE , } }
The as_pdfium() function is not currently used, but we expect it to be in future
The as_pdfium () function is not currently used but we expect it to be in future
&self