pub trait ProjectIface: Clone {
// Required methods
fn get_name(&self) -> &str;
fn get_dir(&self) -> &str;
fn get_url(&self) -> &str;
fn get_ref_string(&self) -> &str;
fn get_install(&self) -> &[String];
fn get_uninstall(&self) -> &[String];
}
Expand description
A trait that is used to know to set up a project
Required Methods§
Sourcefn get_ref_string(&self) -> &str
fn get_ref_string(&self) -> &str
Get the reference string
Sourcefn get_install(&self) -> &[String]
fn get_install(&self) -> &[String]
Get the install script
Sourcefn get_uninstall(&self) -> &[String]
fn get_uninstall(&self) -> &[String]
Get the uninstall script
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.