[][src]Trait abi_stable::pointer_trait::GetPointerKind

pub unsafe trait GetPointerKind {
type Kind: PointerKindVariant;

const KIND: PointerKind;
}

What kind of pointer this is.

The valid kinds are:

  • Reference:a &T,or a Copy wrapper struct containing a &T

  • MutReference:a &mut T,or a non-Drop wrapper struct containing a &mut T

  • SmartPointer: Any pointer type that's not a reference or a mutable reference.

Associated Types

Loading content...

Associated Constants

Loading content...

Implementations on Foreign Types

impl<'a, T> GetPointerKind for &'a T[src]

impl<'a, T> GetPointerKind for &'a mut T[src]

Loading content...

Implementors

impl<T> GetPointerKind for RArc<T>[src]

impl<T> GetPointerKind for RBox<T>[src]

Loading content...