#[repr(transparent)]pub struct ArkUI_ButtonType(pub c_uint);Available on crate feature
api-12 only.Expand description
@brief Enumerates the button types.
@since 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).
Source§impl ArkUI_ButtonType
impl ArkUI_ButtonType
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).
Source§impl ArkUI_ButtonType
impl ArkUI_ButtonType
Sourcepub const ARKUI_BUTTON_TYPE_CIRCLE: ArkUI_ButtonType = _
pub const ARKUI_BUTTON_TYPE_CIRCLE: ArkUI_ButtonType = _
Circle button.
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 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_ButtonType
impl Hash for ArkUI_ButtonType
Source§impl PartialEq for ArkUI_ButtonType
impl PartialEq 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§
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