pub struct PdfFormPushButtonField<'a> { /* private fields */ }Expand description
A single PdfFormField of type PdfFormFieldType::PushButton. The form field object defines
an interactive button widget that can be clicked or tapped by the user.
Form fields in Pdfium are wrapped inside page annotations of type PdfPageAnnotationType::Widget
or PdfPageAnnotationType::XfaWidget. User-specified values can be retrieved directly from
each form field object by unwrapping the form field from the annotation, or in bulk from the
PdfForm::field_values() function.
Implementations§
source§impl<'a> PdfFormPushButtonField<'a>
impl<'a> PdfFormPushButtonField<'a>
sourcepub fn bindings(&self) -> &'a dyn PdfiumLibraryBindings
pub fn bindings(&self) -> &'a dyn PdfiumLibraryBindings
Returns the PdfiumLibraryBindings used by this PdfFormPushButtonField object.
Trait Implementations§
source§impl<'a> From<PdfFormPushButtonField<'a>> for PdfFormField<'a>
impl<'a> From<PdfFormPushButtonField<'a>> for PdfFormField<'a>
source§fn from(field: PdfFormPushButtonField<'a>) -> Self
fn from(field: PdfFormPushButtonField<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PdfFormPushButtonField<'a>
impl<'a> !Send for PdfFormPushButtonField<'a>
impl<'a> !Sync for PdfFormPushButtonField<'a>
impl<'a> Unpin for PdfFormPushButtonField<'a>
impl<'a> !UnwindSafe for PdfFormPushButtonField<'a>
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