pub struct SoftObjectRef<T: UeClass> { /* private fields */ }Implementations§
Source§impl<T: UeClass> SoftObjectRef<T>
impl<T: UeClass> SoftObjectRef<T>
pub fn new(path: impl Into<String>) -> Self
pub fn null() -> Self
pub fn path(&self) -> &str
pub fn is_null(&self) -> bool
pub fn get(&self) -> UObjectRef<T>
pub fn load_synchronous(&self) -> RustealResult<UObjectRef<T>>
Trait Implementations§
Source§impl<T: UeClass> Clone for SoftObjectRef<T>
impl<T: UeClass> Clone for SoftObjectRef<T>
Source§impl<T: UeClass> Debug for SoftObjectRef<T>
impl<T: UeClass> Debug for SoftObjectRef<T>
Source§impl<T: UeClass> Default for SoftObjectRef<T>
impl<T: UeClass> Default for SoftObjectRef<T>
impl<T: UeClass> Eq for SoftObjectRef<T>
Auto Trait Implementations§
impl<T> Freeze for SoftObjectRef<T>where
PhantomData<T>: Freeze,
impl<T> RefUnwindSafe for SoftObjectRef<T>where
PhantomData<T>: RefUnwindSafe,
impl<T> Send for SoftObjectRef<T>where
PhantomData<T>: Send,
impl<T> Sync for SoftObjectRef<T>where
PhantomData<T>: Sync,
impl<T> Unpin for SoftObjectRef<T>where
PhantomData<T>: Unpin,
impl<T> UnsafeUnpin for SoftObjectRef<T>where
PhantomData<T>: UnsafeUnpin,
impl<T> UnwindSafe for SoftObjectRef<T>where
PhantomData<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