pub struct PlayerUpdateHandler { /* private fields */ }Expand description
Object the server calls through PlayerUpdateHandlerVTable. 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 PlayerUpdateHandler
impl PlayerUpdateHandler
Sourcepub fn new(vtable: *const PlayerUpdateHandlerVTable) -> PlayerUpdateHandler
pub fn new(vtable: *const PlayerUpdateHandlerVTable) -> PlayerUpdateHandler
Builds a handler backed by vtable.
Trait Implementations§
impl Send for PlayerUpdateHandler
impl Sync for PlayerUpdateHandler
Auto Trait Implementations§
impl Freeze for PlayerUpdateHandler
impl RefUnwindSafe for PlayerUpdateHandler
impl Unpin for PlayerUpdateHandler
impl UnsafeUnpin for PlayerUpdateHandler
impl UnwindSafe for PlayerUpdateHandler
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