#[repr(transparent)]pub struct ArkUI_FontWeight(pub c_uint);Available on crate feature
api-12 only.Expand description
@brief Enumerates the font weights.
@since 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_W100: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_W100: ArkUI_FontWeight = _
100
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_W200: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_W200: ArkUI_FontWeight = _
200
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_W300: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_W300: ArkUI_FontWeight = _
300
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_W400: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_W400: ArkUI_FontWeight = _
400
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_W500: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_W500: ArkUI_FontWeight = _
500
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_W600: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_W600: ArkUI_FontWeight = _
600
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_W700: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_W700: ArkUI_FontWeight = _
700
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_W800: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_W800: ArkUI_FontWeight = _
800
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_W900: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_W900: ArkUI_FontWeight = _
900
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_BOLD: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_BOLD: ArkUI_FontWeight = _
The font weight is bold.
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_NORMAL: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_NORMAL: ArkUI_FontWeight = _
The font weight is normal.
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_BOLDER: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_BOLDER: ArkUI_FontWeight = _
The font weight is bolder.
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_LIGHTER: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_LIGHTER: ArkUI_FontWeight = _
The font weight is lighter.
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_MEDIUM: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_MEDIUM: ArkUI_FontWeight = _
The font weight is medium.
Source§impl ArkUI_FontWeight
impl ArkUI_FontWeight
Sourcepub const ARKUI_FONT_WEIGHT_REGULAR: ArkUI_FontWeight = _
pub const ARKUI_FONT_WEIGHT_REGULAR: ArkUI_FontWeight = _
The font weight is normal.
Trait Implementations§
Source§impl Clone for ArkUI_FontWeight
impl Clone for ArkUI_FontWeight
Source§fn clone(&self) -> ArkUI_FontWeight
fn clone(&self) -> ArkUI_FontWeight
Returns a copy 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 Hash for ArkUI_FontWeight
impl Hash for ArkUI_FontWeight
Source§impl PartialEq for ArkUI_FontWeight
impl PartialEq for ArkUI_FontWeight
impl Eq for ArkUI_FontWeight
impl StructuralPartialEq for ArkUI_FontWeight
Auto Trait Implementations§
impl Freeze for ArkUI_FontWeight
impl RefUnwindSafe for ArkUI_FontWeight
impl Send for ArkUI_FontWeight
impl Sync for ArkUI_FontWeight
impl Unpin for ArkUI_FontWeight
impl UnwindSafe for ArkUI_FontWeight
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