#[repr(C)]pub struct ArkUI_AttributeItem {
pub value: *const ArkUI_NumberValue,
pub size: i32,
pub string: *const c_char,
pub object: *mut c_void,
}Available on crate feature
api-12 only.Expand description
Defines the general input parameter structure of the [setAttribute] function.
Available since API-level: 12
Fields§
§value: *const ArkUI_NumberValueNumeric array.
size: i32Size of the numeric array.
string: *const c_charString type.
object: *mut c_voidObject type.
Trait Implementations§
Source§impl Clone for ArkUI_AttributeItem
impl Clone for ArkUI_AttributeItem
Source§fn clone(&self) -> ArkUI_AttributeItem
fn clone(&self) -> ArkUI_AttributeItem
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_AttributeItem
impl Debug for ArkUI_AttributeItem
impl Copy for ArkUI_AttributeItem
Auto Trait Implementations§
impl Freeze for ArkUI_AttributeItem
impl RefUnwindSafe for ArkUI_AttributeItem
impl !Send for ArkUI_AttributeItem
impl !Sync for ArkUI_AttributeItem
impl Unpin for ArkUI_AttributeItem
impl UnwindSafe for ArkUI_AttributeItem
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)