Struct dlopen::symbor::PtrOrNullMut[][src]

pub struct PtrOrNullMut<'lib, T: 'lib> { /* fields omitted */ }

Safe wrapper around mutable pointer.

It is recommended only for obtaining pointers that can have null value.

Implementations

impl<'lib, T> PtrOrNullMut<'lib, T>[src]

pub fn new(pointer: *mut T) -> PtrOrNullMut<'lib, T>[src]

Trait Implementations

impl<'lib, T: Clone + 'lib> Clone for PtrOrNullMut<'lib, T>[src]

impl<'lib, T: Copy + 'lib> Copy for PtrOrNullMut<'lib, T>[src]

impl<'lib, T: Debug + 'lib> Debug for PtrOrNullMut<'lib, T>[src]

impl<'lib, T> Deref for PtrOrNullMut<'lib, T>[src]

type Target = *mut T

The resulting type after dereferencing.

impl<'lib, T> FromRawResult for PtrOrNullMut<'lib, T>[src]

impl<'lib, T: Send> Send for PtrOrNullMut<'lib, T>[src]

impl<'lib, T: Sync> Sync for PtrOrNullMut<'lib, T>[src]

Auto Trait Implementations

impl<'lib, T> RefUnwindSafe for PtrOrNullMut<'lib, T> where
    T: RefUnwindSafe

impl<'lib, T> Unpin for PtrOrNullMut<'lib, T>

impl<'lib, T> UnwindSafe for PtrOrNullMut<'lib, T> where
    T: 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.