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

Traits for types wrapped in DynTrait<_>

Re-exports

pub use self::interface_for::InterfaceFor;

Modules

interface_for

Traits

DeserializeBorrowedInterface

Describes how this interface type is deserialized, borrowing from the input RStr.

DeserializeOwnedInterface

Describes how this interface type is deserialized, not borrowing from the input RStr.

ImplType

An implementation type, with an associated interface type which describes the traits that must be implemented when constructing a DynTrait 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 DynTrait<Pointer<()>,ThisInterfaceType> from a type that implements ImplType<Interface= ThisInterfaceType > .

IteratorItem

The way to specify the expected Iterator::Item type for an InterfaceType.

IteratorItemOrDefault

Gets the Item type of an Iterator.

SerializeImplType

Describes how this implementation type is serialized.