#[repr(transparent)]pub struct ArkUI_ShapeType(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the custom shapes.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_ShapeType
impl ArkUI_ShapeType
Sourcepub const ARKUI_SHAPE_TYPE_RECTANGLE: ArkUI_ShapeType
pub const ARKUI_SHAPE_TYPE_RECTANGLE: ArkUI_ShapeType
Rectangle.
Sourcepub const ARKUI_SHAPE_TYPE_CIRCLE: ArkUI_ShapeType
pub const ARKUI_SHAPE_TYPE_CIRCLE: ArkUI_ShapeType
Circle.
Sourcepub const ARKUI_SHAPE_TYPE_ELLIPSE: ArkUI_ShapeType
pub const ARKUI_SHAPE_TYPE_ELLIPSE: ArkUI_ShapeType
Ellipse.
Sourcepub const ARKUI_SHAPE_TYPE_PATH: ArkUI_ShapeType
pub const ARKUI_SHAPE_TYPE_PATH: ArkUI_ShapeType
Path.
Trait Implementations§
Source§impl Clone for ArkUI_ShapeType
impl Clone for ArkUI_ShapeType
Source§fn clone(&self) -> ArkUI_ShapeType
fn clone(&self) -> ArkUI_ShapeType
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_ShapeType
impl Debug for ArkUI_ShapeType
Source§impl Hash for ArkUI_ShapeType
impl Hash for ArkUI_ShapeType
Source§impl PartialEq for ArkUI_ShapeType
impl PartialEq for ArkUI_ShapeType
impl Copy for ArkUI_ShapeType
impl Eq for ArkUI_ShapeType
impl StructuralPartialEq for ArkUI_ShapeType
Auto Trait Implementations§
impl Freeze for ArkUI_ShapeType
impl RefUnwindSafe for ArkUI_ShapeType
impl Send for ArkUI_ShapeType
impl Sync for ArkUI_ShapeType
impl Unpin for ArkUI_ShapeType
impl UnwindSafe for ArkUI_ShapeType
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)