pub struct TextStyle {
pub bold: bool,
pub italic: bool,
pub monospace: bool,
pub strikethrough: bool,
pub underline: bool,
pub color: Option<Color>,
}Fields§
§bold: bool§italic: bool§monospace: bool§strikethrough: bool§underline: bool§color: Option<Color>Trait Implementations§
impl Copy for TextStyle
impl Eq for TextStyle
impl StructuralPartialEq for TextStyle
Auto Trait Implementations§
impl Forget for TextStyle
impl Freeze for TextStyle
impl Move for TextStyle
impl RefUnwindSafe for TextStyle
impl Send for TextStyle
impl Sync for TextStyle
impl Unpin for TextStyle
impl UnsafeUnpin 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