pub struct MAPIOutParam<T>(/* private fields */)
where
T: Sized;Expand description
Hold an out-pointer for MAPI APIs which perform their own buffer allocations. This version does not perform any validation of the buffer size, so the typed accessors are inherently unsafe.
Implementations§
Source§impl<T> MAPIOutParam<T>where
T: Sized,
impl<T> MAPIOutParam<T>where
T: Sized,
Sourcepub fn as_mut_ptr(&mut self) -> *mut *mut T
pub fn as_mut_ptr(&mut self) -> *mut *mut T
Get a *mut *mut T suitable for use with a MAPI API that fills in an out-pointer
with a newly allocated buffer.
Trait Implementations§
Source§impl<T> Default for MAPIOutParam<T>where
T: Sized,
impl<T> Default for MAPIOutParam<T>where
T: Sized,
Auto Trait Implementations§
impl<T> Freeze for MAPIOutParam<T>
impl<T> RefUnwindSafe for MAPIOutParam<T>where
T: RefUnwindSafe,
impl<T> !Send for MAPIOutParam<T>
impl<T> !Sync for MAPIOutParam<T>
impl<T> Unpin for MAPIOutParam<T>
impl<T> UnwindSafe for MAPIOutParam<T>where
T: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more