Struct swift_runtime_sys::root::swift::SwiftRAII
source · #[repr(C)]pub struct SwiftRAII {
pub object: *mut HeapObject,
}
Expand description
RAII object that wraps a Swift heap object and releases it upon destruction.
Fields§
§object: *mut HeapObject
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SwiftRAII
impl RefUnwindSafe for SwiftRAII
impl !Send for SwiftRAII
impl !Sync for SwiftRAII
impl Unpin for SwiftRAII
impl UnwindSafe for SwiftRAII
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