pub unsafe trait PointerTarget {
    type Target;
}
Expand description

Gets the type pointed-to by a pointer.

Required Associated Types§

source

type Target

The pointed-to type.

Implementations on Foreign Types§

source§

impl<T> PointerTarget for *mut T

§

type Target = T

source§

impl<T> PointerTarget for &T

§

type Target = T

source§

impl<T> PointerTarget for &mut T

§

type Target = T

source§

impl<T> PointerTarget for *const T

§

type Target = T

Implementors§