[−][src]Struct audir::wasapi::com::WeakPtr
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]
U: Interface,
pub unsafe fn destroy(self)
[src]
Trait Implementations
impl<T> Clone for WeakPtr<T>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Copy for WeakPtr<T>
[src]
impl<T> Debug for WeakPtr<T>
[src]
impl<T> Deref for WeakPtr<T>
[src]
impl<T> Eq for WeakPtr<T>
[src]
impl<T> Hash for WeakPtr<T>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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,
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,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,