Trait ami::void_pointer::PointerCast [] [src]

pub trait PointerCast<T> {
    fn cast(&self) -> *mut T;
fn from(pointer: *mut T) -> VoidPointer; }
Deprecated since 0.4.0

: Use *mut Void instead.

A trait used for casting the void pointer to other pointer types.

Required Methods

Deprecated since 0.4.0

: Use *mut Void instead.

Cast a VoidPointer to a native pointer of any type.

Deprecated since 0.4.0

: Use *mut Void instead.

Cast a native pointer of any type to a VoidPointer.

Implementors