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