pub struct TextVisuals {
pub font_id: FontId,
pub color: Color32,
pub underline: Stroke,
pub strikethrough: Stroke,
}Expand description
General text style
Fields§
§font_id: FontIdFont used
color: Color32Font color
underline: StrokeText decoration
strikethrough: StrokeAuto Trait Implementations§
impl Freeze for TextVisuals
impl RefUnwindSafe for TextVisuals
impl Send for TextVisuals
impl Sync for TextVisuals
impl Unpin for TextVisuals
impl UnwindSafe for TextVisuals
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