[][src]Trait ffi_convert::RawBorrowMut

pub trait RawBorrowMut<T> {
    unsafe fn raw_borrow_mut<'a>(input: *mut T) -> Result<&'a mut Self, Error>;
}

Trait to create mutable borrowed references to type T, from a raw pointer to a T

Required methods

unsafe fn raw_borrow_mut<'a>(input: *mut T) -> Result<&'a mut Self, Error>

Loading content...

Implementors

impl<T> RawBorrowMut<T> for T[src]

Trait that allows obtaining a mutable borrowed reference to a type T from a raw pointer to T

Loading content...