#[repr(transparent)]pub struct ArkUI_FontWeight(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the font weights.
Available since API-level: 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
Sourcepub const ARKUI_FONT_WEIGHT_W200: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_W200: ArkUI_FontWeight
200
Sourcepub const ARKUI_FONT_WEIGHT_W300: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_W300: ArkUI_FontWeight
300
Sourcepub const ARKUI_FONT_WEIGHT_W400: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_W400: ArkUI_FontWeight
400
Sourcepub const ARKUI_FONT_WEIGHT_W500: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_W500: ArkUI_FontWeight
500
Sourcepub const ARKUI_FONT_WEIGHT_W600: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_W600: ArkUI_FontWeight
600
Sourcepub const ARKUI_FONT_WEIGHT_W700: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_W700: ArkUI_FontWeight
700
Sourcepub const ARKUI_FONT_WEIGHT_W800: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_W800: ArkUI_FontWeight
800
Sourcepub const ARKUI_FONT_WEIGHT_W900: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_W900: ArkUI_FontWeight
900
Sourcepub const ARKUI_FONT_WEIGHT_BOLD: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_BOLD: ArkUI_FontWeight
The font weight is bold.
Sourcepub const ARKUI_FONT_WEIGHT_NORMAL: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_NORMAL: ArkUI_FontWeight
The font weight is normal.
Sourcepub const ARKUI_FONT_WEIGHT_BOLDER: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_BOLDER: ArkUI_FontWeight
The font weight is bolder.
Sourcepub const ARKUI_FONT_WEIGHT_LIGHTER: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_LIGHTER: ArkUI_FontWeight
The font weight is lighter.
Sourcepub const ARKUI_FONT_WEIGHT_MEDIUM: ArkUI_FontWeight
pub const ARKUI_FONT_WEIGHT_MEDIUM: ArkUI_FontWeight
The font weight is medium.
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 duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArkUI_FontWeight
impl Debug for ArkUI_FontWeight
Source§impl Hash for ArkUI_FontWeight
impl Hash for ArkUI_FontWeight
Source§impl PartialEq for ArkUI_FontWeight
impl PartialEq for ArkUI_FontWeight
impl Copy 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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)