Struct emf_core_base_rs::library::Library[][src]

pub struct Library<'a, O> { /* fields omitted */ }

A library handle.

Implementations

impl<'a, O> Library<'a, O> where
    O: AccessIdentifier
[src]

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

Fetches the internal handle.

impl<'a> Library<'a, Owned>[src]

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

Borrows the library handle.

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

Borrows the library handle mutably.

Trait Implementations

impl<'a, O: Clone> Clone for Library<'a, O>[src]

impl<'a, O: Copy> Copy for Library<'a, O>[src]

impl<'a, O: Debug> Debug for Library<'a, O>[src]

impl<'a, O: Eq> Eq for Library<'a, O>[src]

impl<'a, O: Ord> Ord for Library<'a, O>[src]

impl<'a, O: PartialEq> PartialEq<Library<'a, O>> for Library<'a, O>[src]

impl<'a, O: PartialOrd> PartialOrd<Library<'a, O>> for Library<'a, O>[src]

impl<'a, O> StructuralEq for Library<'a, O>[src]

impl<'a, O> StructuralPartialEq for Library<'a, O>[src]

Auto Trait Implementations

impl<'a, O> RefUnwindSafe for Library<'a, O> where
    O: RefUnwindSafe

impl<'a, O> !Send for Library<'a, O>

impl<'a, O> !Sync for Library<'a, O>

impl<'a, O> Unpin for Library<'a, O>

impl<'a, O> UnwindSafe for Library<'a, 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.