[−][src]Struct node_bindgen::core::Property
Methods
impl Property[src]
pub fn new(name: &str) -> Property[src]
pub fn method(
self,
method: unsafe extern "C" fn(*mut napi_env__, *mut napi_callback_info__) -> *mut napi_value__
) -> Property[src]
self,
method: unsafe extern "C" fn(*mut napi_env__, *mut napi_callback_info__) -> *mut napi_value__
) -> Property
pub fn getter(
self,
getter: unsafe extern "C" fn(*mut napi_env__, *mut napi_callback_info__) -> *mut napi_value__
) -> Property[src]
self,
getter: unsafe extern "C" fn(*mut napi_env__, *mut napi_callback_info__) -> *mut napi_value__
) -> Property
pub fn as_raw_property(&self) -> napi_property_descriptor[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,