[][src]Type Definition dync::SmallValue

type SmallValue<V> = Value<usize, V>;

Implementations

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

pub fn try_new<T: Any + DropBytes>(value: T) -> Option<Value<usize, V>> where
    V: VTable<T>, 
[src]

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

This function will panic if the given type does not fit into a usize.

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

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