#[repr(C)]pub union ArkUI_NumberValue {
pub f32_: f32,
pub i32_: i32,
pub u32_: u32,
}Available on crate feature
api-12 only.Expand description
Provides the number types of ArkUI in the native code.
Available since API-level: 12
Fields§
§f32_: f32Floating-point type.
i32_: i32Signed integer.
u32_: u32Unsigned integer.
Trait Implementations§
Source§impl Clone for ArkUI_NumberValue
impl Clone for ArkUI_NumberValue
Source§fn clone(&self) -> ArkUI_NumberValue
fn clone(&self) -> ArkUI_NumberValue
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 moreimpl Copy for ArkUI_NumberValue
Auto Trait Implementations§
impl Freeze for ArkUI_NumberValue
impl RefUnwindSafe for ArkUI_NumberValue
impl Send for ArkUI_NumberValue
impl Sync for ArkUI_NumberValue
impl Unpin for ArkUI_NumberValue
impl UnwindSafe for ArkUI_NumberValue
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)