#[repr(C)]pub struct OH_Drawing_FontAliasInfo {
pub familyName: *mut c_char,
pub weight: c_int,
}Expand description
@brief Alias font information.
@since 12 @version 1.0
Fields§
§familyName: *mut c_charFont family name
weight: c_intFont weight value. When the weight value is greater than 0, the font set contains only fonts with the specified weight. When the weight value is equal to 0, the font set contains all fonts.
Trait Implementations§
Source§impl Clone for OH_Drawing_FontAliasInfo
impl Clone for OH_Drawing_FontAliasInfo
Source§fn clone(&self) -> OH_Drawing_FontAliasInfo
fn clone(&self) -> OH_Drawing_FontAliasInfo
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 moreimpl Copy for OH_Drawing_FontAliasInfo
Auto Trait Implementations§
impl !Send for OH_Drawing_FontAliasInfo
impl !Sync for OH_Drawing_FontAliasInfo
impl Freeze 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