[][src]Struct dync::Meta

pub struct Meta<V> {
    pub element_size: usize,
    pub element_type_id: TypeId,
    pub vtable: V,
}

Defines a meta struct containing information about a type but not the type itself.

Note that here V would typically represent a pointer type.

Fields

element_size: usizeelement_type_id: TypeIdvtable: V

Trait Implementations

impl<V: Clone> Clone for Meta<V>[src]

impl<V: Copy> Copy for Meta<V>[src]

impl<V: Debug> Debug for Meta<V>[src]

impl<V: Eq> Eq for Meta<V>[src]

impl<'a, B: GetBytesMut, V: Clone + HasDrop> From<&'a Value<B, V>> for Meta<Ptr<V>>[src]

impl<'a, V> From<&'a VecCopy<V>> for Meta<VTableRef<'a, V>>[src]

impl<'a, V> From<&'a VecCopy<V>> for Meta<Ptr<V>> where
    Ptr<V>: Clone
[src]

impl<'a, V: Clone + HasDrop> From<&'a VecDrop<V>> for Meta<Ptr<V>>[src]

impl<'a, V: Clone + HasDrop> From<&'a VecDrop<V>> for Meta<VTableRef<'a, V>>[src]

impl<'a, V> From<SliceCopy<'a, V>> for Meta<VTableRef<'a, V>>[src]

impl<'a, V: Clone> From<SliceCopy<'a, V>> for Meta<Ptr<V>>[src]

impl<'a, V> From<SliceCopyMut<'a, V>> for Meta<VTableRef<'a, V>>[src]

impl<'a, V: Clone> From<SliceCopyMut<'a, V>> for Meta<Ptr<V>>[src]

impl<'a, V> From<SliceDrop<'a, V>> for Meta<VTableRef<'a, V>>[src]

impl<'a, V: Clone> From<SliceDrop<'a, V>> for Meta<Ptr<V>>[src]

impl<'a, V> From<SliceDropMut<'a, V>> for Meta<VTableRef<'a, V>>[src]

impl<'a, V: Clone> From<SliceDropMut<'a, V>> for Meta<Ptr<V>>[src]

impl<'a, V: HasDrop> From<ValueMut<'a, V>> for Meta<VTableRef<'a, V>>[src]

impl<'a, V: HasDrop> From<ValueRef<'a, V>> for Meta<VTableRef<'a, V>>[src]

impl<V: Hash> Hash for Meta<V>[src]

impl<V: PartialEq> PartialEq<Meta<V>> for Meta<V>[src]

impl<V> StructuralEq for Meta<V>[src]

impl<V> StructuralPartialEq for Meta<V>[src]

Auto Trait Implementations

impl<V> RefUnwindSafe for Meta<V> where
    V: RefUnwindSafe

impl<V> Send for Meta<V> where
    V: Send

impl<V> Sync for Meta<V> where
    V: Sync

impl<V> Unpin for Meta<V> where
    V: Unpin

impl<V> UnwindSafe for Meta<V> where
    V: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneBytes for T where
    T: 'static + Clone
[src]

impl<T> DebugBytes for T where
    T: 'static + Debug
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> DropBytes for T where
    T: 'static, 
[src]

impl<T> From<T> for T[src]

impl<T> HashBytes for T where
    T: 'static + Hash
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> PartialEqBytes for T where
    T: 'static + PartialEq<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.