[][src]Module abi_stable::erased_types::traits

Traits for types wrapped in VirtualWrapper<_>

Structs

InterfaceFor

Helper struct for Wrapping any type in a VirtualWrapper<Pointer< OpaqueTyoe< Interface > >>.

Traits

DeserializeInterfaceType

Describes how this interface type is deserialized.

ImplType

An implementation type, with an associated interface type which describes the traits that must be implemented when constructing a VirtualWrapper from Self, using the from_value and from_ptr constructors, so as to pass an opaque type across ffi.

InterfaceType

Defines the usable/required traits when creating a VirtualWrapper<Pointer<ZeroSized< ThisType >>> from a type that implements ImplType<Interface= ThisType > .

SerializeImplType

Describes how this implementation type is serialized.