#[repr(transparent)]pub struct SwiftRef<'a, T: SwiftObject>(_);
Expand description
Reference to an NSObject
for internal use by swift!
.
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for SwiftRef<'a, T>where <T as SwiftObject>::Shape: RefUnwindSafe,
impl<'a, T> Send for SwiftRef<'a, T>where <T as SwiftObject>::Shape: Sync,
impl<'a, T> Sync for SwiftRef<'a, T>where <T as SwiftObject>::Shape: Sync,
impl<'a, T> Unpin for SwiftRef<'a, T>
impl<'a, T> UnwindSafe for SwiftRef<'a, T>where <T as SwiftObject>::Shape: 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