#[repr(C)]pub struct BSPointerHandleManagerInterface<T> { /* private fields */ }
Expand description
Interface for converting between raw pointers and handles.
Implementations§
Source§impl<T> BSPointerHandleManagerInterface<T>
impl<T> BSPointerHandleManagerInterface<T>
Sourcepub fn GetHandle(ptr: *mut T) -> BSPointerHandle<T>
pub fn GetHandle(ptr: *mut T) -> BSPointerHandle<T>
Gets a typed handle from a raw pointer.
Source§impl<T: RefCountable> BSPointerHandleManagerInterface<T>
impl<T: RefCountable> BSPointerHandleManagerInterface<T>
Sourcepub fn GetSmartPointer(
handle: &BSPointerHandle<T>,
smart_ptr: &mut NiPointer<T>,
) -> bool
pub fn GetSmartPointer( handle: &BSPointerHandle<T>, smart_ptr: &mut NiPointer<T>, ) -> bool
Gets a smart pointer from the handle and stores it in smart_ptr
.
Auto Trait Implementations§
impl<T> Freeze for BSPointerHandleManagerInterface<T>
impl<T> RefUnwindSafe for BSPointerHandleManagerInterface<T>where
T: RefUnwindSafe,
impl<T> Send for BSPointerHandleManagerInterface<T>where
T: Send,
impl<T> Sync for BSPointerHandleManagerInterface<T>where
T: Sync,
impl<T> Unpin for BSPointerHandleManagerInterface<T>where
T: Unpin,
impl<T> UnwindSafe for BSPointerHandleManagerInterface<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more