Struct windows_core::OutRef
pub struct OutRef<'a, T: Type<T>>(/* private fields */);
Expand description
A borrowed type with the same memory layout as the type itself that can be used to construct ABI-compatible function signatures.
This is a mutable version of Ref meant to support out parameters.
Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for OutRef<'a, T>
impl<'a, T> RefUnwindSafe for OutRef<'a, T>where
<T as Type<T>>::Abi: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> !Send for OutRef<'a, T>
impl<'a, T> !Sync for OutRef<'a, T>
impl<'a, T> Unpin for OutRef<'a, T>
impl<'a, T> UnwindSafe for OutRef<'a, T>where
<T as Type<T>>::Abi: RefUnwindSafe,
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