pub struct TextField {
pub max_length: Option<u32>,
pub multiline: bool,
pub password: bool,
pub file_select: bool,
pub do_not_spell_check: bool,
pub do_not_scroll: bool,
pub comb: bool,
pub rich_text: bool,
pub default_appearance: Option<String>,
pub quadding: Option<u8>,
pub rich_value: Option<String>,
}Expand description
/FT /Tx — text input.
Fields§
§max_length: Option<u32>/MaxLen — maximum character count; None for no limit.
multiline: boolBit 13 — Multiline.
password: boolBit 14 — Password.
file_select: boolBit 21 — FileSelect (input is a file path).
do_not_spell_check: boolBit 23 — DoNotSpellCheck.
do_not_scroll: boolBit 24 — DoNotScroll.
comb: boolBit 25 — Comb (fixed-width per-character).
rich_text: boolBit 26 — RichText.
default_appearance: Option<String>/DA — default appearance string.
quadding: Option<u8>/Q — quadding override.
rich_value: Option<String>/RV — rich-text value (XHTML/XFA fragment).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextField
impl RefUnwindSafe for TextField
impl Send for TextField
impl Sync for TextField
impl Unpin for TextField
impl UnsafeUnpin for TextField
impl UnwindSafe for TextField
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<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