pub struct Pinned<T>where
T: UeClass,{ /* private fields */ }Implementations§
Source§impl<T> Pinned<T>where
T: UeClass,
impl<T> Pinned<T>where
T: UeClass,
pub fn new(obj: UObjectRef<T>) -> Result<Pinned<T>, RustealError>
pub fn is_alive(&self) -> bool
pub fn handle(&self) -> UObjectHandle
pub fn as_ref(&self) -> UObjectRef<T>
pub fn as_checked(&self) -> Checked<T>
Trait Implementations§
impl<T> Send for Pinned<T>where
T: UeClass,
Source§impl<T> UeHandle for Pinned<T>where
T: UeClass,
impl<T> UeHandle for Pinned<T>where
T: UeClass,
fn checked_handle(&self) -> Result<UObjectHandle, RustealError>
fn raw_handle(&self) -> UObjectHandle
Source§impl<T> ValidHandle for Pinned<T>where
T: UeClass,
impl<T> ValidHandle for Pinned<T>where
T: UeClass,
fn handle(&self) -> UObjectHandle
Auto Trait Implementations§
impl<T> !Sync for Pinned<T>
impl<T> Freeze for Pinned<T>
impl<T> RefUnwindSafe for Pinned<T>
impl<T> Unpin for Pinned<T>
impl<T> UnsafeUnpin for Pinned<T>
impl<T> UnwindSafe for Pinned<T>
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