Struct qt_gui::q_font_database::SystemFont
source · pub struct SystemFont(/* private fields */);
Expand description
This enum was introduced or modified in Qt 5.2.
C++ enum: QFontDatabase::SystemFont
.
This enum was introduced or modified in Qt 5.2.
Implementations§
source§impl SystemFont
impl SystemFont
sourcepub const GeneralFont: SystemFont = _
pub const GeneralFont: SystemFont = _
The default system font. (C++ enum variant: GeneralFont = 0
)
sourcepub const FixedFont: SystemFont = _
pub const FixedFont: SystemFont = _
The fixed font that the system recommends. (C++ enum variant: FixedFont = 1
)
sourcepub const TitleFont: SystemFont = _
pub const TitleFont: SystemFont = _
The system standard font for titles. (C++ enum variant: TitleFont = 2
)
sourcepub const SmallestReadableFont: SystemFont = _
pub const SmallestReadableFont: SystemFont = _
The smallest readable system font. (C++ enum variant: SmallestReadableFont = 3
)
Trait Implementations§
source§impl Clone for SystemFont
impl Clone for SystemFont
source§fn clone(&self) -> SystemFont
fn clone(&self) -> SystemFont
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SystemFont
impl Debug for SystemFont
source§impl From<SystemFont> for c_int
impl From<SystemFont> for c_int
source§fn from(value: SystemFont) -> Self
fn from(value: SystemFont) -> Self
Converts to this type from the input type.
source§impl From<i32> for SystemFont
impl From<i32> for SystemFont
source§impl PartialEq for SystemFont
impl PartialEq for SystemFont
source§fn eq(&self, other: &SystemFont) -> bool
fn eq(&self, other: &SystemFont) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SystemFont
impl Eq for SystemFont
impl StructuralEq for SystemFont
impl StructuralPartialEq for SystemFont
Auto Trait Implementations§
impl RefUnwindSafe for SystemFont
impl Send for SystemFont
impl Sync for SystemFont
impl Unpin for SystemFont
impl UnwindSafe for SystemFont
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