[][src]Type Definition dync::BoxValue

type BoxValue<V> = Value<Box<[MaybeUninit<u8>]>, V>;

Implementations

impl<V: HasDrop> BoxValue<V>[src]

pub fn new<T: Any + DropBytes>(value: T) -> Value<Box<[MaybeUninit<u8>]>, V> where
    V: VTable<T>, 
[src]

impl<V: ?Sized + HasDrop> BoxValue<V>[src]

pub fn upcast<U: HasDrop + From<V>>(self) -> BoxValue<U> where
    V: Clone
[src]

pub fn into_raw_parts(self) -> (Box<[MaybeUninit<u8>]>, TypeId, Ptr<V>)[src]

Convert this value into its destructured parts.

The caller must insure that the memory allocated by the returned bytes is freed.