Struct emf_core_base_rs::library::InternalLibrary[][src]

pub struct InternalLibrary<O> { /* fields omitted */ }

A loader handle.

Implementations

impl<O> InternalLibrary<O> where
    O: AccessIdentifier
[src]

pub const unsafe fn new(handle: InternalHandle) -> 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) -> InternalHandle[src]

Fetches the internal handle.

impl InternalLibrary<Owned>[src]

pub const fn as_borrowed(&self) -> InternalLibrary<BorrowImmutable<'_>>[src]

Borrows the loader handle.

pub fn as_borrowed_mut(&mut self) -> InternalLibrary<BorrowMutable<'_>>[src]

Borrows the loader handle mutably.

Trait Implementations

impl<O: Clone> Clone for InternalLibrary<O>[src]

impl<O: Copy> Copy for InternalLibrary<O>[src]

impl<O: Debug> Debug for InternalLibrary<O>[src]

impl<O: Eq> Eq for InternalLibrary<O>[src]

impl<O: Ord> Ord for InternalLibrary<O>[src]

impl<O: PartialEq> PartialEq<InternalLibrary<O>> for InternalLibrary<O>[src]

impl<O: PartialOrd> PartialOrd<InternalLibrary<O>> for InternalLibrary<O>[src]

impl<O> StructuralEq for InternalLibrary<O>[src]

impl<O> StructuralPartialEq for InternalLibrary<O>[src]

Auto Trait Implementations

impl<O> RefUnwindSafe for InternalLibrary<O> where
    O: RefUnwindSafe

impl<O> !Send for InternalLibrary<O>

impl<O> !Sync for InternalLibrary<O>

impl<O> Unpin for InternalLibrary<O>

impl<O> UnwindSafe for InternalLibrary<O> where
    O: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.