Trait ProjectIface

Source
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§

Source

fn get_name(&self) -> &str

Get the name of the project

Source

fn get_dir(&self) -> &str

Get the directory name to use for this project

Source

fn get_url(&self) -> &str

Get the url from which to clone the project

Source

fn get_ref_string(&self) -> &str

Get the reference string

Source

fn get_install(&self) -> &[String]

Get the install script

Source

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.

Implementors§