Struct emf_core_base_rs::module::native_module::NativeModuleInstance [−][src]
pub struct NativeModuleInstance<'a, O> { /* fields omitted */ }
An instance from a native module.
Implementations
impl<O> NativeModuleInstance<'_, O> where
O: AccessIdentifier,
[src]
impl<O> NativeModuleInstance<'_, O> where
O: AccessIdentifier,
[src]pub const unsafe fn new(handle: Option<NonNull<NativeModuleFFI>>) -> Self
[src]
Construct a new instance from a handle.
Safety
This function allows the creation of invalid handles by bypassing lifetimes.
pub const fn as_handle(&self) -> Option<NonNull<NativeModuleFFI>>
[src]
Fetches the internal handle.
impl NativeModuleInstance<'_, Owned>
[src]
impl NativeModuleInstance<'_, Owned>
[src]pub const fn as_borrowed(&self) -> NativeModuleInstance<'_, BorrowImmutable<'_>>
[src]
Borrows the instance.
pub fn as_borrowed_mut(&mut self) -> NativeModuleInstance<'_, BorrowMutable<'_>>
[src]
Borrows the instance mutably.
Trait Implementations
impl<'a, O: Clone> Clone for NativeModuleInstance<'a, O>
[src]
impl<'a, O: Clone> Clone for NativeModuleInstance<'a, O>
[src]fn clone(&self) -> NativeModuleInstance<'a, O>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, O: Copy> Copy for NativeModuleInstance<'a, O>
[src]
impl<'a, O: Copy> Copy for NativeModuleInstance<'a, O>
[src]impl<'a, O: Debug> Debug for NativeModuleInstance<'a, O>
[src]
impl<'a, O: Debug> Debug for NativeModuleInstance<'a, O>
[src]impl<'a, O: Eq> Eq for NativeModuleInstance<'a, O>
[src]
impl<'a, O: Eq> Eq for NativeModuleInstance<'a, O>
[src]impl<'a, O: Ord> Ord for NativeModuleInstance<'a, O>
[src]
impl<'a, O: Ord> Ord for NativeModuleInstance<'a, O>
[src]impl<'a, O: PartialEq> PartialEq<NativeModuleInstance<'a, O>> for NativeModuleInstance<'a, O>
[src]
impl<'a, O: PartialEq> PartialEq<NativeModuleInstance<'a, O>> for NativeModuleInstance<'a, O>
[src]fn eq(&self, other: &NativeModuleInstance<'a, O>) -> bool
[src]
fn ne(&self, other: &NativeModuleInstance<'a, O>) -> bool
[src]
impl<'a, O: PartialOrd> PartialOrd<NativeModuleInstance<'a, O>> for NativeModuleInstance<'a, O>
[src]
impl<'a, O: PartialOrd> PartialOrd<NativeModuleInstance<'a, O>> for NativeModuleInstance<'a, O>
[src]fn partial_cmp(&self, other: &NativeModuleInstance<'a, O>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl<O> Send for NativeModuleInstance<'_, O>
[src]
impl<O> Send for NativeModuleInstance<'_, O>
[src]impl<'a, O> StructuralEq for NativeModuleInstance<'a, O>
[src]
impl<'a, O> StructuralEq for NativeModuleInstance<'a, O>
[src]impl<'a, O> StructuralPartialEq for NativeModuleInstance<'a, O>
[src]
impl<'a, O> StructuralPartialEq for NativeModuleInstance<'a, O>
[src]impl<O> Sync for NativeModuleInstance<'_, O>
[src]
impl<O> Sync for NativeModuleInstance<'_, O>
[src]Auto Trait Implementations
impl<'a, O> RefUnwindSafe for NativeModuleInstance<'a, O> where
O: RefUnwindSafe,
impl<'a, O> RefUnwindSafe for NativeModuleInstance<'a, O> where
O: RefUnwindSafe,
impl<'a, O> Unpin for NativeModuleInstance<'a, O>
impl<'a, O> Unpin for NativeModuleInstance<'a, O>
impl<'a, O> UnwindSafe for NativeModuleInstance<'a, O> where
O: RefUnwindSafe,
impl<'a, O> UnwindSafe for NativeModuleInstance<'a, O> where
O: RefUnwindSafe,