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