[][src]Struct audir::wasapi::com::WeakPtr

#[repr(transparent)]pub struct WeakPtr<T>(_);

Implementations

impl<T> WeakPtr<T>[src]

pub fn null() -> Self[src]

pub unsafe fn from_raw(raw: *mut T) -> Self[src]

pub fn is_null(self) -> bool[src]

pub fn as_ptr(self) -> *const T[src]

pub fn as_mut_ptr(self) -> *mut T[src]

pub unsafe fn mut_void(&mut self) -> *mut *mut c_void[src]

pub unsafe fn as_unknown(&self) -> &IUnknown[src]

impl<T: Interface> WeakPtr<T>[src]

pub unsafe fn cast<U>(self) -> WasapiResult<WeakPtr<U>> where
    U: Interface
[src]

pub unsafe fn destroy(self)[src]

Trait Implementations

impl<T> Clone for WeakPtr<T>[src]

impl<T> Copy for WeakPtr<T>[src]

impl<T> Debug for WeakPtr<T>[src]

impl<T> Deref for WeakPtr<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T> Eq for WeakPtr<T>[src]

impl<T> Hash for WeakPtr<T>[src]

impl<T> PartialEq<*mut T> for WeakPtr<T>[src]

impl<T> PartialEq<WeakPtr<T>> for WeakPtr<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for WeakPtr<T> where
    T: RefUnwindSafe

impl<T> !Send for WeakPtr<T>

impl<T> !Sync for WeakPtr<T>

impl<T> Unpin for WeakPtr<T>

impl<T> UnwindSafe for WeakPtr<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.