Struct emf_core_base_rs::library::library_loader::InvalidLoader[][src]

pub struct InvalidLoader { /* fields omitted */ }

Invalid type erased library loader.

Implementations

impl InvalidLoader[src]

pub fn new(interface: NonNullConst<c_void>) -> Self[src]

Constructs a new instance.

Methods from Deref<Target = NonNullConst<c_void>>

pub unsafe fn into_mut(&self) -> NonNull<T>[src]

Acquires a mutable version of the pointer.

Safety

It is undefined behavior if the underlying pointer is not already mutable.

pub unsafe fn as_ref(&self) -> &T[src]

Returns a shared reference to the value.

Safety

The same restrictions as NonNull::as_ref apply.

Trait Implementations

impl Clone for InvalidLoader[src]

impl Copy for InvalidLoader[src]

impl Debug for InvalidLoader[src]

impl Deref for InvalidLoader[src]

type Target = NonNullConst<c_void>

The resulting type after dereferencing.

impl DerefMut for InvalidLoader[src]

impl Send for InvalidLoader[src]

impl Sync for InvalidLoader[src]

Auto Trait Implementations

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.