Struct OutRef
pub struct OutRef<'a, T: Type>(/* private fields */);Expand description
A borrowed ABI-compatible out parameter.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !Send for OutRef<'a, T>
impl<'a, T> !Sync for OutRef<'a, T>
impl<'a, T> Forget for OutRef<'a, T>
impl<'a, T> Freeze for OutRef<'a, T>
impl<'a, T> Move for OutRef<'a, T>
impl<'a, T> RefUnwindSafe for OutRef<'a, T>where
<T as Type<<T as TypeKind>::TypeKind>>::Abi: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Unpin for OutRef<'a, T>
impl<'a, T> UnsafeUnpin for OutRef<'a, T>where
*mut <T as Type<<T as TypeKind>::TypeKind>>::Abi: UnsafeUnpin,
PhantomData<&'a T>: UnsafeUnpin,
impl<'a, T> UnwindSafe for OutRef<'a, T>
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