pub struct ForeignData { /* private fields */ }
Expand description
Helper for running a C-defined finalizer over some data when the Rust structure is dropped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ForeignData
impl RefUnwindSafe for ForeignData
impl Unpin for ForeignData
impl UnwindSafe for ForeignData
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