Enum nodex_api::NapiKeyCollectionMode
source · [−]#[repr(u32)]
pub enum NapiKeyCollectionMode {
KeyIncludePrototypes,
KeyOwnOnly,
}
Expand description
napi_key_collection_mode
Variants
KeyIncludePrototypes
KeyOwnOnly
Trait Implementations
sourceimpl Clone for NapiKeyCollectionMode
impl Clone for NapiKeyCollectionMode
sourcefn clone(&self) -> NapiKeyCollectionMode
fn clone(&self) -> NapiKeyCollectionMode
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 NapiKeyCollectionMode
impl Debug for NapiKeyCollectionMode
impl Copy for NapiKeyCollectionMode
impl Eq for NapiKeyCollectionMode
impl StructuralEq for NapiKeyCollectionMode
impl StructuralPartialEq for NapiKeyCollectionMode
Auto Trait Implementations
impl RefUnwindSafe for NapiKeyCollectionMode
impl Send for NapiKeyCollectionMode
impl Sync for NapiKeyCollectionMode
impl Unpin for NapiKeyCollectionMode
impl UnwindSafe for NapiKeyCollectionMode
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