#[repr(C)]pub struct OH_Drawing_FontAliasInfo {
pub familyName: *mut c_char,
pub weight: c_int,
}Expand description
@brief This struct describes the information about a font alias.
@since 12 @version 1.0
Fields§
§familyName: *mut c_charPointer to the name of a font family.
weight: c_intFont weight value. If the value is greater than 0, the font family contains only the font with the specified weight. If the value is 0, the font family contains all fonts.
Trait Implementations§
Source§impl Clone for OH_Drawing_FontAliasInfo
impl Clone for OH_Drawing_FontAliasInfo
impl Copy for OH_Drawing_FontAliasInfo
Auto Trait Implementations§
impl !Send for OH_Drawing_FontAliasInfo
impl !Sync for OH_Drawing_FontAliasInfo
impl Forget for OH_Drawing_FontAliasInfo
impl Freeze for OH_Drawing_FontAliasInfo
impl Move for OH_Drawing_FontAliasInfo
impl RefUnwindSafe for OH_Drawing_FontAliasInfo
impl Unpin for OH_Drawing_FontAliasInfo
impl UnsafeUnpin for OH_Drawing_FontAliasInfo
impl UnwindSafe for OH_Drawing_FontAliasInfo
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