pub struct EuvFormFieldProps {
pub name: &'static str,
pub id: &'static str,
pub invalid: bool,
}Expand description
Props for the euv_form_field component.
The field wraps one control and tells the parts inside it which name the control carries, so a label, a description and a message can point at the same control without the caller repeating the name in three places.
Fields§
§name: &'static strThe name the control inside the field carries.
id: &'static strThe id the control inside the field carries.
invalid: boolWhether the control inside the field is in the invalid state.
Trait Implementations§
Source§impl Clone for EuvFormFieldProps
impl Clone for EuvFormFieldProps
Source§impl Debug for EuvFormFieldProps
impl Debug for EuvFormFieldProps
Auto Trait Implementations§
impl Forget for EuvFormFieldProps
impl Freeze for EuvFormFieldProps
impl Move for EuvFormFieldProps
impl RefUnwindSafe for EuvFormFieldProps
impl Send for EuvFormFieldProps
impl Sync for EuvFormFieldProps
impl Unpin for EuvFormFieldProps
impl UnsafeUnpin for EuvFormFieldProps
impl UnwindSafe for EuvFormFieldProps
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