#[repr(transparent)]pub struct ArkUI_NodeAdapterEventType(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates component adapter events.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_NodeAdapterEventType
impl ArkUI_NodeAdapterEventType
Sourcepub const NODE_ADAPTER_EVENT_WILL_ATTACH_TO_NODE: ArkUI_NodeAdapterEventType
pub const NODE_ADAPTER_EVENT_WILL_ATTACH_TO_NODE: ArkUI_NodeAdapterEventType
This event occurs when the component is attached to the adapter.
Sourcepub const NODE_ADAPTER_EVENT_WILL_DETACH_FROM_NODE: ArkUI_NodeAdapterEventType
pub const NODE_ADAPTER_EVENT_WILL_DETACH_FROM_NODE: ArkUI_NodeAdapterEventType
This event occurs when the component is detached from the adapter.
Sourcepub const NODE_ADAPTER_EVENT_ON_GET_NODE_ID: ArkUI_NodeAdapterEventType
pub const NODE_ADAPTER_EVENT_ON_GET_NODE_ID: ArkUI_NodeAdapterEventType
This event occurs when the adapter obtains the unique ID of the new element to add.
Sourcepub const NODE_ADAPTER_EVENT_ON_ADD_NODE_TO_ADAPTER: ArkUI_NodeAdapterEventType
pub const NODE_ADAPTER_EVENT_ON_ADD_NODE_TO_ADAPTER: ArkUI_NodeAdapterEventType
This event occurs when the adapter obtains the content of the new element to add.
Sourcepub const NODE_ADAPTER_EVENT_ON_REMOVE_NODE_FROM_ADAPTER: ArkUI_NodeAdapterEventType
pub const NODE_ADAPTER_EVENT_ON_REMOVE_NODE_FROM_ADAPTER: ArkUI_NodeAdapterEventType
This event occurs when the adapter removes an element.
Trait Implementations§
Source§impl Clone for ArkUI_NodeAdapterEventType
impl Clone for ArkUI_NodeAdapterEventType
Source§fn clone(&self) -> ArkUI_NodeAdapterEventType
fn clone(&self) -> ArkUI_NodeAdapterEventType
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_NodeAdapterEventType
impl Debug for ArkUI_NodeAdapterEventType
Source§impl Hash for ArkUI_NodeAdapterEventType
impl Hash for ArkUI_NodeAdapterEventType
impl Copy for ArkUI_NodeAdapterEventType
impl Eq for ArkUI_NodeAdapterEventType
impl StructuralPartialEq for ArkUI_NodeAdapterEventType
Auto Trait Implementations§
impl Freeze for ArkUI_NodeAdapterEventType
impl RefUnwindSafe for ArkUI_NodeAdapterEventType
impl Send for ArkUI_NodeAdapterEventType
impl Sync for ArkUI_NodeAdapterEventType
impl Unpin for ArkUI_NodeAdapterEventType
impl UnwindSafe for ArkUI_NodeAdapterEventType
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)