[][src]Trait pavo_traits::AsPtrMut

pub trait AsPtrMut<T>: AsPtr<T> {
    unsafe fn as_ptr_mut(&self) -> *mut T { ... }
}

定义将只读引用转化至可写指针的契定。

Provided methods

unsafe fn as_ptr_mut(&self) -> *mut T

将当前只读引用转化至可写指针。

Safety

强转指针属于危险操作,请务必确保其安全性。

Loading content...

Implementations on Foreign Types

impl<T, U, '_> AsPtrMut<U> for &'_ T where
    T: AsPtrMut<U>,
    T: Sized,
    U: Sized
[src]

Loading content...

Implementors

Loading content...