Struct safer_ffi::dyn_traits::dyn_drop::DynDrop
source · #[repr(transparent)]pub struct DynDrop(pub VirtualPtr<dyn Send + Sync + StaticDropGlue + 'static>);
Available on crate feature
dyn-traits
only.Expand description
Convenience shorthand around
VirtualPtr<dyn 'static + Send + Sync + DropGlue>
.
C Layout
Tuple Fields§
§0: VirtualPtr<dyn Send + Sync + StaticDropGlue + 'static>
Implementations§
Trait Implementations§
source§impl ReprC for DynDropwhere
VirtualPtr<dyn Send + Sync + StaticDropGlue + 'static>: ReprC,
impl ReprC for DynDropwhere VirtualPtr<dyn Send + Sync + StaticDropGlue + 'static>: ReprC,
Auto Trait Implementations§
impl RefUnwindSafe for DynDrop
impl Send for DynDrop
impl Sync for DynDrop
impl Unpin for DynDrop
impl UnwindSafe for DynDrop
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> FitForCBox for T
impl<T> FitForCBox for T
§type CBoxWrapped = Box_<T>
type CBoxWrapped = Box_<T>
Available on crate feature
alloc
only.