[−][src]Trait ffi_convert::RawBorrow
Trait to create borrowed references to type T, from a raw pointer to a T
Required methods
unsafe fn raw_borrow<'a>(input: *const T) -> Result<&'a Self, Error>
Implementations on Foreign Types
impl RawBorrow<i8> for CStr
[src]
Loading content...
Implementors
impl<T> RawBorrow<T> for T
[src]
Trait that allows obtaining a borrowed reference to a type T from a raw pointer to T