pub struct PluginDeclaration {
pub rustc_version: &'static str,
pub core_version: &'static str,
pub register: unsafe fn(&mut dyn PluginRegistrar),
}Expand description
A type represents an extension
Fields§
§rustc_version: &'static str§core_version: &'static str§register: unsafe fn(&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