pub struct PluginDeclaration {
pub rustc_version: &'static str,
pub core_version: &'static str,
pub register: unsafe extern "C" fn(config_path: PathBuf, rt: Arc<Handle>, _: &mut dyn PluginRegistrar),
}
Fields§
§rustc_version: &'static str
§core_version: &'static str
§register: unsafe extern "C" fn(config_path: PathBuf, rt: Arc<Handle>, _: &mut dyn PluginRegistrar)
Auto Trait Implementations§
impl Freeze for PluginDeclaration
impl RefUnwindSafe for PluginDeclaration
impl Send for PluginDeclaration
impl Sync for PluginDeclaration
impl Unpin for PluginDeclaration
impl UnwindSafe for PluginDeclaration
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