pub struct FocusGroup {
pub id: String,
pub fields: Vec<FormField>,
pub wrap: bool,
}Expand description
A declarative form / focus group (FORM-1): fields in order, each with an optional hint key + rect (filled at layout). Single tab-stop to enter; directional arrows move between fields; the hint overlay extends to fields (FORM-2). Code-defined, deterministic.
Fields§
§id: String§fields: Vec<FormField>§wrap: boolImplementations§
Source§impl FocusGroup
impl FocusGroup
Trait Implementations§
Source§impl Clone for FocusGroup
impl Clone for FocusGroup
Source§fn clone(&self) -> FocusGroup
fn clone(&self) -> FocusGroup
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 FocusGroup
impl Debug for FocusGroup
Source§impl Default for FocusGroup
impl Default for FocusGroup
Source§fn default() -> FocusGroup
fn default() -> FocusGroup
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FocusGroup
impl RefUnwindSafe for FocusGroup
impl Send for FocusGroup
impl Sync for FocusGroup
impl Unpin for FocusGroup
impl UnsafeUnpin for FocusGroup
impl UnwindSafe for FocusGroup
Blanket Implementations§
impl<T> Allocation for T
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