#[repr(C)]pub struct OH_Drawing_FontAdjustInfo {
pub weight: c_int,
pub to: c_int,
}Expand description
@brief Font weight mapping information.
@since 12 @version 1.0
Fields§
§weight: c_intThe font’s original weight value
to: c_intThe font weight displayed in the application
Trait Implementations§
Source§impl Clone for OH_Drawing_FontAdjustInfo
impl Clone for OH_Drawing_FontAdjustInfo
Source§fn clone(&self) -> OH_Drawing_FontAdjustInfo
fn clone(&self) -> OH_Drawing_FontAdjustInfo
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 moreSource§impl Debug for OH_Drawing_FontAdjustInfo
impl Debug for OH_Drawing_FontAdjustInfo
impl Copy for OH_Drawing_FontAdjustInfo
Auto Trait Implementations§
impl Freeze 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