#[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 This struct describes the information about generic fonts supported by the system.
@since 12 @version 1.0
Fields§
§familyName: *mut c_charPointer to the name of a font family.
aliasInfoSize: usizeNumber of font aliases.
adjustInfoSize: usizeNumber of font weight mappings.
aliasInfoSet: *mut OH_Drawing_FontAliasInfoPointer to a set of font aliases.
adjustInfoSet: *mut OH_Drawing_FontAdjustInfoPointer to a set of font weight mappings.
Trait Implementations§
Source§impl Clone for OH_Drawing_FontGenericInfo
impl Clone for OH_Drawing_FontGenericInfo
impl Copy for OH_Drawing_FontGenericInfo
Auto Trait Implementations§
impl !Send for OH_Drawing_FontGenericInfo
impl !Sync for OH_Drawing_FontGenericInfo
impl Forget for OH_Drawing_FontGenericInfo
impl Freeze for OH_Drawing_FontGenericInfo
impl Move for OH_Drawing_FontGenericInfo
impl RefUnwindSafe 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