#[repr(C)]pub struct OH_Drawing_FontAdjustInfo {
pub weight: c_int,
pub to: c_int,
}Expand description
@brief This struct describes the information about a font weight mapping.
@since 12 @version 1.0
Fields§
§weight: c_intOriginal font weight.
to: c_intFont weight displayed in the application.
Trait Implementations§
Source§impl Clone for OH_Drawing_FontAdjustInfo
impl Clone for OH_Drawing_FontAdjustInfo
impl Copy for OH_Drawing_FontAdjustInfo
Auto Trait Implementations§
impl Forget for OH_Drawing_FontAdjustInfo
impl Freeze for OH_Drawing_FontAdjustInfo
impl Move for OH_Drawing_FontAdjustInfo
impl RefUnwindSafe for OH_Drawing_FontAdjustInfo
impl Send for OH_Drawing_FontAdjustInfo
impl Sync for OH_Drawing_FontAdjustInfo
impl Unpin for OH_Drawing_FontAdjustInfo
impl UnsafeUnpin for OH_Drawing_FontAdjustInfo
impl UnwindSafe for OH_Drawing_FontAdjustInfo
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