Struct safer_ffi::dyn_traits::dyn_drop::ImplDropGlue
source · [−]#[repr(transparent)]pub struct ImplDropGlue<T>(pub T);
Available on crate feature
dyn-traits
only.Expand description
We need to use a new type to avoid the trait-coherence issues of an otherwise too blanket-y impl.
Tuple Fields
0: T
Trait Implementations
sourceimpl<T: Debug> Debug for ImplDropGlue<T>
impl<T: Debug> Debug for ImplDropGlue<T>
impl<T> DropGlue for ImplDropGlue<T>
impl<T> StaticDropGlue for ImplDropGlue<T>where
T: 'static + Send + Sync,
Auto Trait Implementations
impl<T> RefUnwindSafe for ImplDropGlue<T>where
T: RefUnwindSafe,
impl<T> Send for ImplDropGlue<T>where
T: Send,
impl<T> Sync for ImplDropGlue<T>where
T: Sync,
impl<T> Unpin for ImplDropGlue<T>where
T: Unpin,
impl<T> UnwindSafe for ImplDropGlue<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CompatExt for T
impl<T> CompatExt for T
sourceimpl<T> FitForCBox for T
impl<T> FitForCBox for T
type CBoxWrapped = Box_<T>
type CBoxWrapped = Box_<T>
Available on crate feature
alloc
only.sourceimpl<T> ManuallyDropMut for T
impl<T> ManuallyDropMut for T
type Ret = ManuallyDrop<T>
fn manually_drop_mut(&'__ mut self) -> &'__ mut ManuallyDrop<T>
sourceimpl<T> UpcastAny for Twhere
T: 'static,
impl<T> UpcastAny for Twhere
T: 'static,
sourcefn upcast_any(&self) -> &(dyn Any + 'static)
fn upcast_any(&self) -> &(dyn Any + 'static)
Available on crate feature
headers
only.