pub struct PdfFormUnknownField<'a> { /* private fields */ }Expand description
A single PdfFormField of type PdfFormFieldType::Unknown.
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> PdfFormUnknownField<'a>
impl<'a> PdfFormUnknownField<'a>
sourcepub fn bindings(&self) -> &'a dyn PdfiumLibraryBindings
pub fn bindings(&self) -> &'a dyn PdfiumLibraryBindings
Returns the PdfiumLibraryBindings used by this PdfFormUnknownField object.
Trait Implementations§
source§impl<'a> From<PdfFormUnknownField<'a>> for PdfFormField<'a>
impl<'a> From<PdfFormUnknownField<'a>> for PdfFormField<'a>
source§fn from(field: PdfFormUnknownField<'a>) -> Self
fn from(field: PdfFormUnknownField<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for PdfFormUnknownField<'a>
impl<'a> !RefUnwindSafe for PdfFormUnknownField<'a>
impl<'a> !Send for PdfFormUnknownField<'a>
impl<'a> !Sync for PdfFormUnknownField<'a>
impl<'a> Unpin for PdfFormUnknownField<'a>
impl<'a> !UnwindSafe for PdfFormUnknownField<'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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§impl<'a, T> PdfFormFieldCommon for Twhere
T: PdfFormFieldPrivate<'a>,
impl<'a, T> PdfFormFieldCommon for Twhere
T: PdfFormFieldPrivate<'a>,
source§fn appearance_stream(&self) -> Option<String>
fn appearance_stream(&self) -> Option<String>
Returns the name of the currently set appearance stream for this PdfFormField, if any.
source§fn appearance_mode_value(
&self,
appearance_mode: PdfAppearanceMode,
) -> Option<String>
fn appearance_mode_value( &self, appearance_mode: PdfAppearanceMode, ) -> Option<String>
Returns the value currently set for the given appearance mode for this PdfFormField,
if any.