struct EngineDescriptor {
kind: EngineKind,
install: fn(&CatalogInstaller, &Path, &Path, &str) -> Result<EngineInstallReceipt>,
remove: fn(&InstalledPackage) -> Result<()>,
matches_installer: fn(&CatalogInstaller) -> bool,
}Fields§
§kind: EngineKind§install: fn(&CatalogInstaller, &Path, &Path, &str) -> Result<EngineInstallReceipt>§remove: fn(&InstalledPackage) -> Result<()>§matches_installer: fn(&CatalogInstaller) -> boolAuto Trait Implementations§
impl Freeze for EngineDescriptor
impl RefUnwindSafe for EngineDescriptor
impl Send for EngineDescriptor
impl Sync for EngineDescriptor
impl Unpin for EngineDescriptor
impl UnwindSafe for EngineDescriptor
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