Struct steamworks::CallbackHandle
source · pub struct CallbackHandle<Manager = ClientManager> { /* private fields */ }
Expand description
A handle that can be used to remove a callback at a later point.
Removes the callback when dropped
Implementations§
source§impl<Manager> CallbackHandle<Manager>
impl<Manager> CallbackHandle<Manager>
pub fn disconnect(&self)
Trait Implementations§
impl<Manager> Send for CallbackHandle<Manager>
Auto Trait Implementations§
impl<Manager> RefUnwindSafe for CallbackHandle<Manager>where
Manager: RefUnwindSafe,
impl<Manager> Sync for CallbackHandle<Manager>
impl<Manager> Unpin for CallbackHandle<Manager>
impl<Manager> UnwindSafe for CallbackHandle<Manager>where
Manager: RefUnwindSafe,
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