Struct emf_core_base_rs::module::Module [−][src]
pub struct Module<'a, O> { /* fields omitted */ }
A module handle.
Implementations
impl<'a, O> Module<'a, O> where
O: AccessIdentifier,
[src]
impl<'a, O> Module<'a, O> where
O: AccessIdentifier,
[src]pub const unsafe fn new(handle: ModuleHandle) -> 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) -> ModuleHandle
[src]
Fetches the internal handle.
impl<'a> Module<'a, Owned>
[src]
impl<'a> Module<'a, Owned>
[src]pub const fn as_borrowed(&self) -> Module<'a, BorrowImmutable<'_>>
[src]
Borrows the library handle.
pub fn as_borrowed_mut(&mut self) -> Module<'a, BorrowMutable<'_>>
[src]
Borrows the library handle mutably.
Trait Implementations
impl<'a, O: PartialOrd> PartialOrd<Module<'a, O>> for Module<'a, O>
[src]
impl<'a, O: PartialOrd> PartialOrd<Module<'a, O>> for Module<'a, O>
[src]fn partial_cmp(&self, other: &Module<'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<'a, O> StructuralEq for Module<'a, O>
[src]
impl<'a, O> StructuralEq for Module<'a, O>
[src]impl<'a, O> StructuralPartialEq for Module<'a, O>
[src]
impl<'a, O> StructuralPartialEq for Module<'a, O>
[src]Auto Trait Implementations
impl<'a, O> RefUnwindSafe for Module<'a, O> where
O: RefUnwindSafe,
impl<'a, O> RefUnwindSafe for Module<'a, O> where
O: RefUnwindSafe,
impl<'a, O> UnwindSafe for Module<'a, O> where
O: RefUnwindSafe,
impl<'a, O> UnwindSafe for Module<'a, O> where
O: RefUnwindSafe,