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