pub struct TestProject { /* private fields */ }Expand description
Implementations§
Source§impl TestProject
impl TestProject
pub fn dependency(self, name: &str, version: &str) -> Self
pub fn dev_dependency(self, name: &str, version: &str) -> Self
Sourcepub fn member(
self,
name: &str,
build: impl FnOnce(TestMember) -> TestMember,
) -> Self
pub fn member( self, name: &str, build: impl FnOnce(TestMember) -> TestMember, ) -> Self
Add a workspace member. The closure receives an empty [TestMember]
to configure with its own dependencies.
pub fn source_file(self, name: &str, content: &str) -> Self
pub fn scute_config(self, yaml: &str) -> Self
Auto Trait Implementations§
impl Freeze for TestProject
impl RefUnwindSafe for TestProject
impl Send for TestProject
impl Sync for TestProject
impl Unpin for TestProject
impl UnsafeUnpin for TestProject
impl UnwindSafe for TestProject
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