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