Struct swift_runtime_sys::root::swift::UnownedReference
source · #[repr(C)]pub struct UnownedReference {
pub Value: *mut HeapObject,
}
Expand description
An unowned reference in memory. This is ABI.
Fields§
§Value: *mut HeapObject
Trait Implementations§
source§impl Clone for UnownedReference
impl Clone for UnownedReference
source§fn clone(&self) -> UnownedReference
fn clone(&self) -> UnownedReference
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnownedReference
impl Debug for UnownedReference
impl Copy for UnownedReference
Auto Trait Implementations§
impl Freeze for UnownedReference
impl RefUnwindSafe for UnownedReference
impl !Send for UnownedReference
impl !Sync for UnownedReference
impl Unpin for UnownedReference
impl UnwindSafe for UnownedReference
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)