#[repr(C)]pub struct ControllerRegistration {
pub type_name: BorrowedStr<'static>,
pub vtable: *const ControllerVTable,
}Expand description
Registration entry for one plug-in controller type.
Fields§
§type_name: BorrowedStr<'static>Canonical type name; must match the type_name returned by the vtable.
vtable: *const ControllerVTablePointer to the static vtable for this controller type.
Trait Implementations§
impl Send for ControllerRegistration
SAFETY: the pointer is 'static and immutable for the process lifetime.
impl Sync for ControllerRegistration
SAFETY: see above.
Auto Trait Implementations§
impl Freeze for ControllerRegistration
impl RefUnwindSafe for ControllerRegistration
impl Unpin for ControllerRegistration
impl UnsafeUnpin for ControllerRegistration
impl UnwindSafe for ControllerRegistration
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