#[repr(transparent)]pub struct ArkUI_ButtonType(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the button types.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_ButtonType
impl ArkUI_ButtonType
Sourcepub const ARKUI_BUTTON_TYPE_NORMAL: ArkUI_ButtonType
pub const ARKUI_BUTTON_TYPE_NORMAL: ArkUI_ButtonType
Normal button (without rounded corners by default).
Sourcepub const ARKUI_BUTTON_TYPE_CAPSULE: ArkUI_ButtonType
pub const ARKUI_BUTTON_TYPE_CAPSULE: ArkUI_ButtonType
Capsule-type button (the round corner is half of the height by default).
Sourcepub const ARKUI_BUTTON_TYPE_CIRCLE: ArkUI_ButtonType
pub const ARKUI_BUTTON_TYPE_CIRCLE: ArkUI_ButtonType
Circle button.
Sourcepub const ARKUI_BUTTON_ROUNDED_RECTANGLE: ArkUI_ButtonType
Available on crate feature api-19 only.
pub const ARKUI_BUTTON_ROUNDED_RECTANGLE: ArkUI_ButtonType
api-19 only.Rounded rectangle button.
Available since API-level: 19
Trait Implementations§
Source§impl Clone for ArkUI_ButtonType
impl Clone for ArkUI_ButtonType
Source§fn clone(&self) -> ArkUI_ButtonType
fn clone(&self) -> ArkUI_ButtonType
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_ButtonType
impl Debug for ArkUI_ButtonType
Source§impl Hash for ArkUI_ButtonType
impl Hash for ArkUI_ButtonType
Source§impl PartialEq for ArkUI_ButtonType
impl PartialEq for ArkUI_ButtonType
impl Copy for ArkUI_ButtonType
impl Eq for ArkUI_ButtonType
impl StructuralPartialEq for ArkUI_ButtonType
Auto Trait Implementations§
impl Freeze for ArkUI_ButtonType
impl RefUnwindSafe for ArkUI_ButtonType
impl Send for ArkUI_ButtonType
impl Sync for ArkUI_ButtonType
impl Unpin for ArkUI_ButtonType
impl UnwindSafe for ArkUI_ButtonType
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)