#[repr(C)]pub struct AbandonResult<T, TAllocator: Allocator> {
pub data: T,
pub weak: CWeak<T, TAllocator>,
}Expand description
Fields§
§data: TThe underlying data.
weak: CWeak<T, TAllocator>The weak reference to the final strong CArc reference.
Trait Implementations§
Auto Trait Implementations§
impl<T, TAllocator> Freeze for AbandonResult<T, TAllocator>where
T: Freeze,
impl<T, TAllocator> RefUnwindSafe for AbandonResult<T, TAllocator>where
T: RefUnwindSafe,
TAllocator: RefUnwindSafe,
impl<T, TAllocator> Send for AbandonResult<T, TAllocator>
impl<T, TAllocator> Sync for AbandonResult<T, TAllocator>
impl<T, TAllocator> Unpin for AbandonResult<T, TAllocator>
impl<T, TAllocator> UnsafeUnpin for AbandonResult<T, TAllocator>where
T: UnsafeUnpin,
impl<T, TAllocator> UnwindSafe for AbandonResult<T, TAllocator>where
T: UnwindSafe,
TAllocator: UnwindSafe,
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