pub struct DynamicCall { /* private fields */ }Implementations§
Source§impl DynamicCall
impl DynamicCall
pub fn new( obj: &UObjectRef<impl UeClass>, func_name: &str, ) -> Result<DynamicCall, RustealError>
pub fn for_delegate( obj: &UObjectRef<impl UeClass>, delegate: FPropertyHandle, ) -> Result<DynamicCall, RustealError>
pub fn set<T>(&mut self, name: &str, value: T) -> Result<(), RustealError>where
T: Copy,
pub fn set_struct<T>(
&mut self,
name: &str,
value: &OwnedStruct<T>,
) -> Result<(), RustealError>where
T: UeStruct,
pub fn broadcast(self) -> Result<(), RustealError>
pub fn call(self) -> Result<DynamicCallResult, RustealError>
Trait Implementations§
Source§impl Drop for DynamicCall
impl Drop for DynamicCall
Auto Trait Implementations§
impl !Send for DynamicCall
impl !Sync for DynamicCall
impl Freeze for DynamicCall
impl RefUnwindSafe for DynamicCall
impl Unpin for DynamicCall
impl UnsafeUnpin for DynamicCall
impl UnwindSafe for DynamicCall
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