pub enum XfaFieldType {
Text,
Checkbox,
RadioGroup,
Button,
Dropdown,
Signature,
DateTime,
Numeric,
Password,
Image,
Barcode,
}Expand description
Public field type, mirroring FieldKind without leaking the
layout-engine type into the SDK surface.
Variants§
Text
Single-line or multiline text edit.
Checkbox
Standalone checkbox.
RadioGroup
Exclusive radio group (exclGroup with checkButton members).
Button
Push button (not fillable).
Dropdown
Dropdown / choice list.
Signature
Signature field (not fillable in Phase 1).
DateTime
Date/time picker (accepts text in Phase 1).
Numeric
Numeric edit (accepts text in Phase 1).
Password
Password edit.
Image
Image edit (not fillable in Phase 1).
Barcode
Barcode (not fillable).
Implementations§
Source§impl XfaFieldType
impl XfaFieldType
Sourcepub fn is_fillable(self) -> bool
pub fn is_fillable(self) -> bool
Whether XfaSession::set_value accepts writes for this type.
Trait Implementations§
Source§impl Clone for XfaFieldType
impl Clone for XfaFieldType
Source§fn clone(&self) -> XfaFieldType
fn clone(&self) -> XfaFieldType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for XfaFieldType
Source§impl Debug for XfaFieldType
impl Debug for XfaFieldType
impl Eq for XfaFieldType
Source§impl PartialEq for XfaFieldType
impl PartialEq for XfaFieldType
Source§fn eq(&self, other: &XfaFieldType) -> bool
fn eq(&self, other: &XfaFieldType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for XfaFieldType
Auto Trait Implementations§
impl Freeze for XfaFieldType
impl RefUnwindSafe for XfaFieldType
impl Send for XfaFieldType
impl Sync for XfaFieldType
impl Unpin for XfaFieldType
impl UnsafeUnpin for XfaFieldType
impl UnwindSafe for XfaFieldType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more