pub struct Retained(/* private fields */);Expand description
A retained Swift heap object. Automatically releases on drop.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for Retained
impl !Sync for Retained
impl Freeze for Retained
impl RefUnwindSafe for Retained
impl Unpin for Retained
impl UnsafeUnpin for Retained
impl UnwindSafe for Retained
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