[][src]Struct rstest_test::prj::Project

pub struct Project {
    pub name: OsString,
    // some fields omitted
}

Fields

name: OsString

Implementations

impl Project[src]

pub fn new<P: AsRef<Path>>(root: P) -> Self[src]

pub fn get_name(&self) -> Cow<str>[src]

pub fn subproject<O: AsRef<OsStr>>(&self, name: O) -> Self[src]

pub fn name<O: AsRef<OsStr>>(self, name: O) -> Self[src]

pub fn path(&self) -> PathBuf[src]

pub fn run_tests(&self) -> Result<Output, Error>[src]

pub fn compile(&self) -> Result<Output, Error>[src]

pub fn set_code_file<P: AsRef<Path>>(self, src: P) -> Self[src]

pub fn append_code<S: AsRef<str>>(&self, code: S)[src]

pub fn add_dependency(&self, crate_name: &str, attrs: &str)[src]

pub fn add_local_dependency(&self, name: &str)[src]

Auto Trait Implementations

impl RefUnwindSafe for Project

impl Send for Project

impl Sync for Project

impl Unpin for Project

impl UnwindSafe for Project

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.