pub struct PlayerShotHandler { /* private fields */ }Expand description
Object the server calls through PlayerShotHandlerVTable. Layout: vtable pointer at offset 0, like any C++ object with
virtuals. The server keeps the pointer, so it must outlive the
registration.
Implementations§
Source§impl PlayerShotHandler
impl PlayerShotHandler
Sourcepub fn new(vtable: *const PlayerShotHandlerVTable) -> PlayerShotHandler
pub fn new(vtable: *const PlayerShotHandlerVTable) -> PlayerShotHandler
Builds a handler backed by vtable.
Trait Implementations§
impl Send for PlayerShotHandler
impl Sync for PlayerShotHandler
Auto Trait Implementations§
impl Freeze for PlayerShotHandler
impl RefUnwindSafe for PlayerShotHandler
impl Unpin for PlayerShotHandler
impl UnsafeUnpin for PlayerShotHandler
impl UnwindSafe for PlayerShotHandler
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