#[non_exhaustive]pub enum FieldKindIR {
Text,
NumericEdit,
Choice,
DateTime,
Signature,
Barcode,
Image,
Button,
Other,
}Expand description
Field-specific kind tag for nodes whose NodeKind is Field.
Other nodes carry None for LayoutNode::field_kind.
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.
Text
Plain text edit.
NumericEdit
Numeric edit.
Choice
Choice list / dropdown.
DateTime
Date/time edit.
Signature
Signature field.
Barcode
Barcode field.
Image
Image field.
Button
Button.
Other
Anything not yet classified.
Implementations§
Trait Implementations§
Source§impl Clone for FieldKindIR
impl Clone for FieldKindIR
Source§fn clone(&self) -> FieldKindIR
fn clone(&self) -> FieldKindIR
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 moreSource§impl Debug for FieldKindIR
impl Debug for FieldKindIR
Source§impl Ord for FieldKindIR
impl Ord for FieldKindIR
Source§fn cmp(&self, other: &FieldKindIR) -> Ordering
fn cmp(&self, other: &FieldKindIR) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FieldKindIR
impl PartialEq for FieldKindIR
Source§fn eq(&self, other: &FieldKindIR) -> bool
fn eq(&self, other: &FieldKindIR) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FieldKindIR
impl PartialOrd for FieldKindIR
impl Copy for FieldKindIR
impl Eq for FieldKindIR
impl StructuralPartialEq for FieldKindIR
Auto Trait Implementations§
impl Freeze for FieldKindIR
impl RefUnwindSafe for FieldKindIR
impl Send for FieldKindIR
impl Sync for FieldKindIR
impl Unpin for FieldKindIR
impl UnsafeUnpin for FieldKindIR
impl UnwindSafe for FieldKindIR
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