pub struct DelegateBinding { /* private fields */ }Expand description
RAII handle that unbinds a delegate and unregisters the callback on drop.
Implementations§
Source§impl DelegateBinding
impl DelegateBinding
Sourcepub fn new(
callback_id: u64,
owner: UObjectHandle,
prop: FPropertyHandle,
is_multicast: bool,
) -> Self
pub fn new( callback_id: u64, owner: UObjectHandle, prop: FPropertyHandle, is_multicast: bool, ) -> Self
Create a new binding handle. Should only be called by generated code.
Sourcepub fn callback_id(&self) -> u64
pub fn callback_id(&self) -> u64
Get the callback ID.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DelegateBinding
impl RefUnwindSafe for DelegateBinding
impl Send for DelegateBinding
impl Sync for DelegateBinding
impl Unpin for DelegateBinding
impl UnsafeUnpin for DelegateBinding
impl UnwindSafe for DelegateBinding
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