pub struct SystemFont(/* private fields */);Expand description
C++ enum: QFontDatabase::SystemFont.
Implementations§
Source§impl SystemFont
impl SystemFont
Sourcepub const GeneralFont: SystemFont
pub const GeneralFont: SystemFont
C++ enum variant: GeneralFont = 0
Sourcepub const FixedFont: SystemFont
pub const FixedFont: SystemFont
C++ enum variant: FixedFont = 1
Sourcepub const TitleFont: SystemFont
pub const TitleFont: SystemFont
C++ enum variant: TitleFont = 2
Sourcepub const SmallestReadableFont: SystemFont
pub const SmallestReadableFont: SystemFont
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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
Tests for
self and other values to be equal, and is used by ==.impl Copy for SystemFont
impl Eq for SystemFont
impl StructuralPartialEq for SystemFont
Auto Trait Implementations§
impl Freeze for SystemFont
impl RefUnwindSafe for SystemFont
impl Send for SystemFont
impl Sync for SystemFont
impl Unpin for SystemFont
impl UnsafeUnpin 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