pub struct ArkUIHandle { /* private fields */ }Expand description
Opaque handle for ArkUI node content.
This wrapper owns no memory by itself. It provides safe method wrappers
around ArkUI_NodeContentHandle operations.
Trait Implementations§
Source§impl Clone for ArkUIHandle
impl Clone for ArkUIHandle
Source§fn clone(&self) -> ArkUIHandle
fn clone(&self) -> ArkUIHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ArkUIHandle
Source§impl FromNapiValue for ArkUIHandle
Available on crate feature napi only.
impl FromNapiValue for ArkUIHandle
Available on crate feature
napi only.Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
This function called to convert napi values to native rust values Read more
fn from_unknown(value: Unknown<'_>) -> Result<Self, Error>
Source§impl TypeName for ArkUIHandle
Available on crate feature napi only.
impl TypeName for ArkUIHandle
Available on crate feature
napi only.Source§impl ValidateNapiValue for ArkUIHandle
Available on crate feature napi only.
impl ValidateNapiValue for ArkUIHandle
Available on crate feature
napi only.Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
This function called to validate whether napi value passed to rust is valid type. Read more
Auto Trait Implementations§
impl !Send for ArkUIHandle
impl !Sync for ArkUIHandle
impl Freeze for ArkUIHandle
impl RefUnwindSafe for ArkUIHandle
impl Unpin for ArkUIHandle
impl UnsafeUnpin for ArkUIHandle
impl UnwindSafe for ArkUIHandle
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