Struct ami::void_pointer::VoidPointer
[−]
[src]
#[repr(C)]pub struct VoidPointer { /* fields omitted */ }
A type that represents a void* in C.
Trait Implementations
impl Copy for VoidPointer[src]
impl Clone for VoidPointer[src]
fn clone(&self) -> VoidPointer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for VoidPointer[src]
fn eq(&self, __arg_0: &VoidPointer) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &VoidPointer) -> bool
This method tests for !=.
impl<T> VoidPointerCast<T> for VoidPointer[src]
fn from(pointer: *mut T) -> VoidPointer
Cast a native pointer of any type to a VoidPointer.
fn cast(&self) -> *mut T
Cast a VoidPointer to a native pointer of any type.