pub struct Style(/* private fields */);
Expand description
This enum describes the different styles of glyphs that are used to display text.
C++ enum: QFont::Style
.
This enum describes the different styles of glyphs that are used to display text.
See also Weight.
Implementations§
source§impl Style
impl Style
sourcepub const StyleNormal: Style = _
pub const StyleNormal: Style = _
Normal glyphs used in unstyled text. (C++ enum variant: StyleNormal = 0
)
sourcepub const StyleItalic: Style = _
pub const StyleItalic: Style = _
Italic glyphs that are specifically designed for the purpose of representing italicized text. (C++ enum variant: StyleItalic = 1
)
sourcepub const StyleOblique: Style = _
pub const StyleOblique: Style = _
Glyphs with an italic appearance that are typically based on the unstyled glyphs, but are not fine-tuned for the purpose of representing italicized text. (C++ enum variant: StyleOblique = 2
)
Trait Implementations§
source§impl PartialEq for Style
impl PartialEq for Style
impl Copy for Style
impl Eq for Style
impl StructuralEq for Style
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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