Struct emf_core_base_rs::library::Loader[][src]

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

A loader handle.

Implementations

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

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

Fetches the internal handle.

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

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

Borrows the loader handle.

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

Borrows the loader handle mutably.

Trait Implementations

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

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