Struct webview2_com::CoTaskMemMut
source · pub struct CoTaskMemMut<'a>(_);
Expand description
Mutable guard object tied to the lifetime of the CoTaskMemPWSTR
so that it
is safe to dereference the PWSTR
as long as both are still in scope.
Implementations§
Trait Implementations§
source§impl<'a> From<&'a mut CoTaskMemPWSTR<'a>> for CoTaskMemMut<'a>
impl<'a> From<&'a mut CoTaskMemPWSTR<'a>> for CoTaskMemMut<'a>
source§fn from(value: &'a mut CoTaskMemPWSTR<'a>) -> Self
fn from(value: &'a mut CoTaskMemPWSTR<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CoTaskMemMut<'a>
impl<'a> !Send for CoTaskMemMut<'a>
impl<'a> !Sync for CoTaskMemMut<'a>
impl<'a> Unpin for CoTaskMemMut<'a>
impl<'a> UnwindSafe for CoTaskMemMut<'a>
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