Struct fui_controls::DefaultTextBoxStyleParams
source · pub struct DefaultTextBoxStyleParams {
pub password: bool,
/* private fields */
}
Fields§
§password: bool
Implementations§
source§impl DefaultTextBoxStyleParams
impl DefaultTextBoxStyleParams
sourcepub fn builder() -> DefaultTextBoxStyleParamsBuilder<((), (), ())>
pub fn builder() -> DefaultTextBoxStyleParamsBuilder<((), (), ())>
Create a builder for building DefaultTextBoxStyleParams
.
On the builder, call .password(...)
(optional), .font_name(...)
(optional), .font_size(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of DefaultTextBoxStyleParams
.
Auto Trait Implementations§
impl Freeze for DefaultTextBoxStyleParams
impl RefUnwindSafe for DefaultTextBoxStyleParams
impl Send for DefaultTextBoxStyleParams
impl Sync for DefaultTextBoxStyleParams
impl Unpin for DefaultTextBoxStyleParams
impl UnwindSafe for DefaultTextBoxStyleParams
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