[−][src]Trait foreign_types::ForeignType
A type implemented by wrappers over foreign types.
Associated Types
Loading content...Required methods
unsafe fn from_ptr(ptr: *mut Self::CType) -> Self
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
Returns a raw pointer to the wrapped value.