Trait abi_stable::pointer_trait::PointerKindVariant

source ·
pub trait PointerKindVariant: Sealed {
    const VALUE: PointerKind;
}
Expand description

For restricting types to the type-level equivalents of PointerKind variants.

This trait is sealed, cannot be implemented outside this module, and won’t be implemented for any more types.

Required Associated Constants§

source

const VALUE: PointerKind

The value of the PointerKind variant Self is equivalent to.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl PointerKindVariant for PK_MutReference

source§

const VALUE: PointerKind = PointerKind::MutReference

source§

impl PointerKindVariant for PK_Reference

source§

const VALUE: PointerKind = PointerKind::Reference

source§

impl PointerKindVariant for PK_SmartPointer

source§

const VALUE: PointerKind = PointerKind::SmartPointer