#[repr(C)]pub struct OH_Drawing_FontDescriptor {
pub path: *mut c_char,
pub postScriptName: *mut c_char,
pub fullName: *mut c_char,
pub fontFamily: *mut c_char,
pub fontSubfamily: *mut c_char,
pub weight: c_int,
pub width: c_int,
pub italic: c_int,
pub monoSpace: bool,
pub symbolic: bool,
}Expand description
@brief Describes the font information.
@since 12 @version 1.0
Fields§
§path: *mut c_charThe file path of System font
postScriptName: *mut c_charA name that uniquely identifies the font
fullName: *mut c_charThe name of System font
fontFamily: *mut c_charThe family of System font
fontSubfamily: *mut c_charThe subfont family of the system font
weight: c_intThe weight of System font
width: c_intThe width of System font
italic: c_intWhether the system font is tilted
monoSpace: boolWhether the system font is compact
symbolic: boolwhether symbolic fonts are supported
Trait Implementations§
Source§impl Clone for OH_Drawing_FontDescriptor
impl Clone for OH_Drawing_FontDescriptor
Source§fn clone(&self) -> OH_Drawing_FontDescriptor
fn clone(&self) -> OH_Drawing_FontDescriptor
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 OH_Drawing_FontDescriptor
impl Debug for OH_Drawing_FontDescriptor
impl Copy for OH_Drawing_FontDescriptor
Auto Trait Implementations§
impl Freeze for OH_Drawing_FontDescriptor
impl RefUnwindSafe for OH_Drawing_FontDescriptor
impl !Send for OH_Drawing_FontDescriptor
impl !Sync for OH_Drawing_FontDescriptor
impl Unpin for OH_Drawing_FontDescriptor
impl UnsafeUnpin for OH_Drawing_FontDescriptor
impl UnwindSafe for OH_Drawing_FontDescriptor
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