pub struct TestArtifacts { /* private fields */ }
Expand description
A resolved set of test artifacts, returned by
TestArtifactRequirements::resolve
.
Implementations§
Source§impl TestArtifacts
impl TestArtifacts
Sourcepub fn try_get(&self, artifact: impl AsArtifactHandle) -> Option<&Path>
pub fn try_get(&self, artifact: impl AsArtifactHandle) -> Option<&Path>
Try to get the resolved path of an artifact.
Sourcepub fn get(&self, artifact: impl AsArtifactHandle) -> &Path
pub fn get(&self, artifact: impl AsArtifactHandle) -> &Path
Get the resolved path of an artifact.
Trait Implementations§
Source§impl Clone for TestArtifacts
impl Clone for TestArtifacts
Source§fn clone(&self) -> TestArtifacts
fn clone(&self) -> TestArtifacts
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TestArtifacts
impl RefUnwindSafe for TestArtifacts
impl Send for TestArtifacts
impl Sync for TestArtifacts
impl Unpin for TestArtifacts
impl UnwindSafe for TestArtifacts
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