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