pub struct NativeEntry {
pub function: NativeFn,
pub dirty_kind: Option<DirtySchedulerKind>,
pub capability: Capability,
}Expand description
A registered native function and dispatch metadata.
Fields§
§function: NativeFnFunction implementing the native call.
dirty_kind: Option<DirtySchedulerKind>Dirty scheduler pool required by this native, if any.
capability: CapabilityCapability required to bind this native during import resolution.
Trait Implementations§
Source§impl Clone for NativeEntry
impl Clone for NativeEntry
Source§fn clone(&self) -> NativeEntry
fn clone(&self) -> NativeEntry
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 NativeEntry
Source§impl Debug for NativeEntry
impl Debug for NativeEntry
impl Eq for NativeEntry
Source§impl PartialEq for NativeEntry
impl PartialEq for NativeEntry
Auto Trait Implementations§
impl Freeze for NativeEntry
impl RefUnwindSafe for NativeEntry
impl Send for NativeEntry
impl Sync for NativeEntry
impl Unpin for NativeEntry
impl UnsafeUnpin for NativeEntry
impl UnwindSafe for NativeEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.