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) -> Self
fn from(value: SecureFieldConfig) -> Self
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.
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