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