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