#[non_exhaustive]pub enum FieldType {
Btn,
Tx,
Ch,
Sig,
}Expand description
Field type per PDF 1.7 spec § 12.7.4. The variant maps directly to
the /FT name in the output PDF.
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.
Btn
/Btn — pushbuttons, checkboxes, radio buttons.
Tx
/Tx — text fields.
Ch
/Ch — choice fields (combo boxes, list boxes).
Sig
/Sig — signature fields.
Trait Implementations§
impl Copy for FieldType
impl Eq for FieldType
impl StructuralPartialEq for FieldType
Auto Trait Implementations§
impl Freeze for FieldType
impl RefUnwindSafe for FieldType
impl Send for FieldType
impl Sync for FieldType
impl Unpin for FieldType
impl UnsafeUnpin for FieldType
impl UnwindSafe for FieldType
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