pub struct ArkUINodeRaw {
pub raw: ArkUI_NodeHandle,
/* private fields */
}Expand description
Convert ArkUI node to native node
Fields§
§raw: ArkUI_NodeHandleNative ArkUI handle.
Trait Implementations§
Source§impl FromNapiValue for ArkUINodeRaw
Available on crate feature napi only.
impl FromNapiValue for ArkUINodeRaw
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>
Safety Read more
fn from_unknown(value: Unknown<'_>) -> Result<Self, Error>
Source§impl TypeName for ArkUINodeRaw
Available on crate feature napi only.
impl TypeName for ArkUINodeRaw
Available on crate feature
napi only.Source§impl ValidateNapiValue for ArkUINodeRaw
Available on crate feature napi only.
impl ValidateNapiValue for ArkUINodeRaw
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>
Safety Read more
Auto Trait Implementations§
impl Freeze for ArkUINodeRaw
impl RefUnwindSafe for ArkUINodeRaw
impl !Send for ArkUINodeRaw
impl !Sync for ArkUINodeRaw
impl Unpin for ArkUINodeRaw
impl UnsafeUnpin for ArkUINodeRaw
impl UnwindSafe for ArkUINodeRaw
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