[][src]Module abi_stable::pointer_trait

Traits for pointers.

Structs

PK_MutReference

The type-level equivalent of PointerKind::MutReference.

PK_Reference

The type-level equivalent of PointerKind::Reference.

PK_SmartPointer

The type-level equivalent of PointerKind::SmartPointer.

Enums

CallReferentDrop

Determines whether the referent of a pointer is dropped when the pointer deallocates the memory.

PointerKind

Describes the kind of a pointer.

Traits

GetPointerKind

What kind of pointer this is.

PointerKindVariant

A type-level equivalent of a PointerKind variant.

StableDeref

Trait for pointers that:

StableDerefMut

An alias for StableDeref + DerefMut.

TransmuteElement

Transmutes the element type of this pointer..

Type Definitions

DestructorType

The type of the destructor for every pointer type from in this crate.