Type Definition dync::SmallValue
source · [−]pub type SmallValue<V> = Value<MaybeUninit<usize>, V>;
Implementations
sourceimpl<V: HasDrop> SmallValue<V>
impl<V: HasDrop> SmallValue<V>
sourceimpl<V: ?Sized + HasDrop> SmallValue<V>
impl<V: ?Sized + HasDrop> SmallValue<V>
pub fn upcast<U: HasDrop + From<V>>(self) -> SmallValue<U> where
V: Clone,
sourcepub fn into_raw_parts(self) -> (MaybeUninit<usize>, TypeId, usize, Ptr<V>)
pub fn into_raw_parts(self) -> (MaybeUninit<usize>, TypeId, usize, Ptr<V>)
Convert this value into its destructured parts.
The caller must insure that the memory allocated by the returned bytes is freed.