Struct ami::void_pointer::TypePointer [] [src]

#[repr(C)]
pub struct TypePointer<T: ?Sized> where
    T: , 
{ /* fields omitted */ }
Deprecated since 0.4.0

: Use *mut Void instead.

A type that represents a T* in C.

Methods

impl<T> TypePointer<T>
[src]

Deprecated since 0.4.0

: Use *mut Void instead.

Inverse of VoidPointer::as_type<T>()

Deprecated since 0.4.0

: Use *mut Void instead.

Deprecated since 0.4.0

: Use *mut Void instead.

Trait Implementations

impl<T: Copy + ?Sized> Copy for TypePointer<T> where
    T: , 
[src]

impl<T: Clone + ?Sized> Clone for TypePointer<T> where
    T: , 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq + ?Sized> PartialEq for TypePointer<T> where
    T: , 
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Send> Send for TypePointer<T>
[src]

impl<T: Sync> Sync for TypePointer<T>
[src]

impl<T> PointerCast<T> for TypePointer<T>
[src]

Deprecated since 0.4.0

: Use *mut Void instead.

Cast a native pointer of any type to a VoidPointer.

Deprecated since 0.4.0

: Use *mut Void instead.

Cast a VoidPointer to a native pointer of any type.

impl<T> Deref for TypePointer<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T> DerefMut for TypePointer<T>
[src]

The method called to mutably dereference a value

impl<T> Index<usize> for TypePointer<T>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<T> IndexMut<usize> for TypePointer<T>
[src]

The method for the mutable indexing (container[index]) operation