Type Alias dync::SmallValue
source · pub type SmallValue<V> = Value<MaybeUninit<usize>, V>;
Aliased Type§
struct SmallValue<V> { /* private fields */ }
Implementations§
source§impl<V: HasDrop> SmallValue<V>
impl<V: HasDrop> SmallValue<V>
source§impl<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.