#[repr(C)]pub struct OH_Drawing_FontStyleStruct {
pub weight: OH_Drawing_FontWeight,
pub width: OH_Drawing_FontWidth,
pub slant: OH_Drawing_FontStyle,
}Expand description
@brief Defines the font style struct.
@since 12 @version 1.0
Fields§
§weight: OH_Drawing_FontWeightFont weight
width: OH_Drawing_FontWidthFont width
slant: OH_Drawing_FontStyleFont slant
Trait Implementations§
Source§impl Clone for OH_Drawing_FontStyleStruct
impl Clone for OH_Drawing_FontStyleStruct
Source§fn clone(&self) -> OH_Drawing_FontStyleStruct
fn clone(&self) -> OH_Drawing_FontStyleStruct
Returns a duplicate of the value. Read more
1.0.0 · 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_FontStyleStruct
impl Debug for OH_Drawing_FontStyleStruct
impl Copy for OH_Drawing_FontStyleStruct
Auto Trait Implementations§
impl Freeze for OH_Drawing_FontStyleStruct
impl RefUnwindSafe for OH_Drawing_FontStyleStruct
impl Send for OH_Drawing_FontStyleStruct
impl Sync for OH_Drawing_FontStyleStruct
impl Unpin for OH_Drawing_FontStyleStruct
impl UnsafeUnpin for OH_Drawing_FontStyleStruct
impl UnwindSafe for OH_Drawing_FontStyleStruct
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