pub struct Attachment<'alloc, 'bridge> { /* private fields */ }Expand description
Bridge Attachment
This type represents the attachment of an allocator to a bridge. It is
returned by the attach() operation of a bridge. This type has no exposed
API other than a custom drop() implementation, which releases the
attachment.
Trait Implementations§
Auto Trait Implementations§
impl<'alloc, 'bridge> Freeze for Attachment<'alloc, 'bridge>
impl<'alloc, 'bridge> RefUnwindSafe for Attachment<'alloc, 'bridge>
impl<'alloc, 'bridge> !Send for Attachment<'alloc, 'bridge>
impl<'alloc, 'bridge> !Sync for Attachment<'alloc, 'bridge>
impl<'alloc, 'bridge> Unpin for Attachment<'alloc, 'bridge>
impl<'alloc, 'bridge> !UnwindSafe for Attachment<'alloc, 'bridge>
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