Struct windows_core::Ref
pub struct Ref<'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.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Ref<'a, T>where
<T as Type<T>>::Abi: Freeze,
impl<'a, T> RefUnwindSafe for Ref<'a, T>where
<T as Type<T>>::Abi: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Send for Ref<'a, T>
impl<'a, T> Sync for Ref<'a, T>
impl<'a, T> Unpin for Ref<'a, T>where
<T as Type<T>>::Abi: Unpin,
impl<'a, T> UnwindSafe for Ref<'a, T>where
<T as Type<T>>::Abi: UnwindSafe,
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