pub struct TextStyle {
pub italic: bool,
pub bold: bool,
pub underlined: bool,
pub color: Color,
}
Expand description
A struct representing the style of a Text.
Fields§
§italic: bool
Italic
bold: bool
Bold
underlined: bool
Underlined is not supported for now!
color: Color
The color of the text
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextStyle
impl RefUnwindSafe for TextStyle
impl Send for TextStyle
impl Sync for TextStyle
impl Unpin for TextStyle
impl UnwindSafe for TextStyle
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