Struct nodex_api::descriptor::NapiPropertyDescriptor
source · [−]#[repr(C)]pub struct NapiPropertyDescriptor(_);
Implementations
sourceimpl NapiPropertyDescriptor
impl NapiPropertyDescriptor
pub fn raw(&self) -> &napi_property_descriptor
Trait Implementations
sourceimpl AsRef<napi_property_descriptor> for NapiPropertyDescriptor
impl AsRef<napi_property_descriptor> for NapiPropertyDescriptor
sourcefn as_ref(&self) -> &napi_property_descriptor
fn as_ref(&self) -> &napi_property_descriptor
Performs the conversion.
sourceimpl Clone for NapiPropertyDescriptor
impl Clone for NapiPropertyDescriptor
sourcefn clone(&self) -> NapiPropertyDescriptor
fn clone(&self) -> NapiPropertyDescriptor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NapiPropertyDescriptor
impl Debug for NapiPropertyDescriptor
sourceimpl Deref for NapiPropertyDescriptor
impl Deref for NapiPropertyDescriptor
type Target = napi_property_descriptor
type Target = napi_property_descriptor
The resulting type after dereferencing.
sourcefn deref(&self) -> &napi_property_descriptor
fn deref(&self) -> &napi_property_descriptor
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for NapiPropertyDescriptor
impl !Send for NapiPropertyDescriptor
impl !Sync for NapiPropertyDescriptor
impl Unpin for NapiPropertyDescriptor
impl UnwindSafe for NapiPropertyDescriptor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more