pub struct TextFieldProps {
pub text: String,
pub placeholder: String,
pub enabled: bool,
}Fields§
§text: String§placeholder: String§enabled: boolTrait Implementations§
Source§impl Clone for TextFieldProps
impl Clone for TextFieldProps
Source§fn clone(&self) -> TextFieldProps
fn clone(&self) -> TextFieldProps
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 TextFieldProps
impl Debug for TextFieldProps
Source§impl Default for TextFieldProps
impl Default for TextFieldProps
Source§fn default() -> TextFieldProps
fn default() -> TextFieldProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for TextFieldProps
impl PartialEq for TextFieldProps
Source§fn eq(&self, other: &TextFieldProps) -> bool
fn eq(&self, other: &TextFieldProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextFieldProps
Auto Trait Implementations§
impl Freeze for TextFieldProps
impl RefUnwindSafe for TextFieldProps
impl Send for TextFieldProps
impl Sync for TextFieldProps
impl Unpin for TextFieldProps
impl UnsafeUnpin for TextFieldProps
impl UnwindSafe for TextFieldProps
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