#[repr(transparent)]pub struct Box_<T>(_);
Available on crate feature
alloc
only.Expand description
Implementations§
Trait Implementations§
impl<T> Send for Box_<T>where Box<T>: Send,
impl<T> Sync for Box_<T>where Box<T>: Sync,
Auto Trait Implementations§
impl<T> RefUnwindSafe for Box_<T>where T: RefUnwindSafe,
impl<T> Unpin for Box_<T>where T: Unpin,
impl<T> UnwindSafe for Box_<T>where T: UnwindSafe + RefUnwindSafe,
Blanket Implementations§
source§impl<T> ConcreteReprC for Twhere
<T as ReprC>::CLayout: CType<OPAQUE_KIND = Concrete>,
T: ReprC + ?Sized,
impl<T> ConcreteReprC for Twhere <T as ReprC>::CLayout: CType<OPAQUE_KIND = Concrete>, T: ReprC + ?Sized,
type ConcreteCLayout = <T as ReprC>::CLayout
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.