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