pub struct SecureFieldConfig {
pub label: AnyView,
pub value: Binding<Secure>,
}Expand description
Configuration for a secure field component.
Fields§
§label: AnyViewThe label view displayed for the secure field.
value: Binding<Secure>The binding to the secure value being edited.
Trait Implementations§
Source§impl Debug for SecureFieldConfig
impl Debug for SecureFieldConfig
Source§impl From<SecureFieldConfig> for SecureField
impl From<SecureFieldConfig> for SecureField
Source§fn from(value: SecureFieldConfig) -> SecureField
fn from(value: SecureFieldConfig) -> SecureField
Converts to this type from the input type.
Source§impl NativeView for SecureFieldConfig
impl NativeView for SecureFieldConfig
Source§fn stretch_axis(&self) -> StretchAxis
fn stretch_axis(&self) -> StretchAxis
Which axis (or axes) this view stretches to fill available space.
Source§impl ViewConfiguration for SecureFieldConfig
impl ViewConfiguration for SecureFieldConfig
Source§type View = SecureField
type View = SecureField
The view type that this configuration produces.
Source§fn render(self) -> <SecureFieldConfig as ViewConfiguration>::View
fn render(self) -> <SecureFieldConfig as ViewConfiguration>::View
Renders this configuration into a view.
Auto Trait Implementations§
impl Freeze for SecureFieldConfig
impl !RefUnwindSafe for SecureFieldConfig
impl !Send for SecureFieldConfig
impl !Sync for SecureFieldConfig
impl Unpin for SecureFieldConfig
impl !UnwindSafe for SecureFieldConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more