Struct webview2_com::CoTaskMemRef
source · [−]pub struct CoTaskMemRef<'a>(_, _);
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
sourceimpl<'a> CoTaskMemRef<'a>
impl<'a> CoTaskMemRef<'a>
Trait Implementations
sourceimpl<'a> From<&'a CoTaskMemPWSTR<'a>> for CoTaskMemRef<'a>
impl<'a> From<&'a CoTaskMemPWSTR<'a>> for CoTaskMemRef<'a>
sourcefn 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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more