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