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