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