pub struct TextStyle {
pub font_size: f64,
pub font_family: String,
pub fill: Option<Color>,
pub font_weight: FontWeight,
}Expand description
Text styling properties.
Fields§
§font_size: f64§font_family: String§fill: Option<Color>§font_weight: FontWeightTrait 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 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