pub struct TextStyle {
pub weight: FontWeight,
pub style: FontStyle,
pub stretch: FontStretch,
}
Fields§
§weight: FontWeight
§style: FontStyle
§stretch: FontStretch
Trait Implementations§
source§impl PartialEq<TextStyle> for TextStyle
impl PartialEq<TextStyle> for TextStyle
impl Eq for TextStyle
impl StructuralEq for TextStyle
impl StructuralPartialEq for TextStyle
Auto Trait Implementations§
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