pub struct ChoiceField {
pub options: Vec<ChoiceOption>,
pub top_index: u32,
pub selected_indices: Vec<u32>,
pub combo: bool,
pub edit: bool,
pub sort: bool,
pub multi_select: bool,
pub do_not_spell_check: bool,
pub commit_on_sel_change: bool,
}Expand description
/FT /Ch — list box or combo box.
Fields§
§options: Vec<ChoiceOption>/Opt — choices.
top_index: u32/TI — top index for scrolling list boxes.
selected_indices: Vec<u32>/I — currently-selected indices (for multi-select).
combo: boolBit 18 — Combo (else list box).
edit: boolBit 19 — Edit (combo with editable text field).
sort: boolBit 20 — Sort.
multi_select: boolBit 22 — MultiSelect.
do_not_spell_check: boolBit 23 — DoNotSpellCheck.
commit_on_sel_change: boolBit 27 — CommitOnSelChange.
Trait Implementations§
Source§impl Clone for ChoiceField
impl Clone for ChoiceField
Source§fn clone(&self) -> ChoiceField
fn clone(&self) -> ChoiceField
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 ChoiceField
impl Debug for ChoiceField
Source§impl Default for ChoiceField
impl Default for ChoiceField
Source§fn default() -> ChoiceField
fn default() -> ChoiceField
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChoiceField
impl RefUnwindSafe for ChoiceField
impl Send for ChoiceField
impl Sync for ChoiceField
impl Unpin for ChoiceField
impl UnsafeUnpin for ChoiceField
impl UnwindSafe for ChoiceField
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