#[repr(C)]pub struct OH_Drawing_FontGenericInfo {
pub familyName: *mut c_char,
pub aliasInfoSize: usize,
pub adjustInfoSize: usize,
pub aliasInfoSet: *mut OH_Drawing_FontAliasInfo,
pub adjustInfoSet: *mut OH_Drawing_FontAdjustInfo,
}Expand description
@brief General font set information supported by the system.
@since 12 @version 1.0
Fields§
§familyName: *mut c_charFont family name
aliasInfoSize: usizeThe size of alias font lists
adjustInfoSize: usizeThe size of font weight mapping information lists
aliasInfoSet: *mut OH_Drawing_FontAliasInfoList of alias fonts
adjustInfoSet: *mut OH_Drawing_FontAdjustInfoFont weight mapping information lists
Trait Implementations§
Source§impl Clone for OH_Drawing_FontGenericInfo
impl Clone for OH_Drawing_FontGenericInfo
Source§fn clone(&self) -> OH_Drawing_FontGenericInfo
fn clone(&self) -> OH_Drawing_FontGenericInfo
Returns a duplicate 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 OH_Drawing_FontGenericInfo
impl Debug for OH_Drawing_FontGenericInfo
impl Copy for OH_Drawing_FontGenericInfo
Auto Trait Implementations§
impl Freeze for OH_Drawing_FontGenericInfo
impl RefUnwindSafe for OH_Drawing_FontGenericInfo
impl !Send for OH_Drawing_FontGenericInfo
impl !Sync for OH_Drawing_FontGenericInfo
impl Unpin for OH_Drawing_FontGenericInfo
impl UnsafeUnpin for OH_Drawing_FontGenericInfo
impl UnwindSafe for OH_Drawing_FontGenericInfo
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